Tenho o código abaixo funcionando ok no xharbour 1.0.0 aguardando os 5s e fechando automaticamente, no Harbour 3.0 e 3.2 o mesmo não funciona fica aguardando que tecle algo.
Código: Selecionar todos
Alert("Alert usando 5 segundos de pausa!",nil,"w+/b",5)
ou
Alert("Alert usando 5 segundos de pausa!",,"w+/b",5)
fonte:http://www.fivetechsoft.com/harbour-docs/api.html#alertALERT()
Display a dialog box with a message
Syntax
ALERT( <xMessage>, [<aOptions>], [<cColorNorm>], [<nDelay>] ) --> nChoice or NIL
Argument(s)
<xMessage> Message to display in the dialog box. <xMessage> can be of any Harbour type. If <xMessage> is an array of Character strings, each element would be displayed in a new line. If <xMessage> is a Character string, you could split the message to several lines by placing a semicolon (;) in the desired places.
<aOptions> Array with available response. Each element should be Character string. If omitted, default is { "Ok" }.
<cColorNorm> Color string to paint the dialog box with. If omitted, default color is "W+/R".
<nDelay> Number of seconds to wait to user response before abort. Default value is 0, that wait forever.
Ate+


