DEFINE TIMER otimer ; INTERVAL 14000 ; ACTION Msg() ; OF oWnd FUNCTION Msg(lok) local odb1,odlg private obrow DEFAULT lok:=.f. odb1:=oServer:Query("select receiver from message where receiver='"+username1+"' and lread<>'Y'"; ...
Gracias por responder SGS, pero en ese caso es un dialogo oDlg simple, sin oWnd, ya que es un programa independiente, donde registra entrada y salida o algun otro metodo que hay que añadir.!
Antonio, Perhaps I found the modify to show it for any seconds ADD THESE DATA DATA oTimer, nTimer AND CHANGE THE PAINT METHOD METHOD Paint() CLASS TC5ToolTip************************************************************************************************************************ ...
Sin ver la llamada a la funcion ptimca01()... parece que estás asumiendo que en ptimcam01(oTimer) el oTimer se creara en la funcion llamada y se asignara por REFERENCIA. Y esto no es asi.
Manuel, Si solo usas ese timer, no habria problema en que no llames a End(). FWH y Harbour limpiaran todo :-) Pero si es una aplicación en donde usas varios timers, etc. entonces si debes llamar a End() puesto que elimina ese timer de un array interno que mantiene la clase TTimer. Al no liberarlo, e...
... en una aplicación un TIMER que se activa al iniciarse la pantalla principal. Cuando se pulsa alguna opción inhabilita el timer temporalmente con oTimer:Deactivate() y al volver de dicha función vuelve a activar el timer con oTimer:activate(). Mi duda es la siguiente. Al finalizar el programa ...
How I can Make to have a simulation of Old clipper colors : sample W* I thinked to use a times but it not run well DEFINE TIMER ::oTimer INTERVAL 50 ACTION (::nClrLedON := ::nClrLedOFF ) of ::oWnd ACTIVATE TIMER ::oTimer I wish change the color after n seconds no stop Any help please ?
... the reason. It is the timer-interval. The needed timer-interval belongs to the file-size. I copied 80 small BMP-files and used : DEFINE TIMER oTimer INTERVAL 100 The result was OK. I changed : DEFINE TIMER oTimer INTERVAL 500 to : DEFINE TIMER oTimer INTERVAL 2000 using bigger files The result ...