Search found 102 matches: otimer

Return to advanced search

Re: How to do chat and file transfer software using fivewin ?

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'"; ...
by ShumingWang
Sat Aug 23, 2014 4:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to do chat and file transfer software using fivewin ?
Replies: 4
Views: 1280

Re: Make a dialog never lost focus

static oTimer, oWnd, oButton[2] #Define SW_MINIMIZE 6 #Define SW_RESTORE 9 /*******************************/ function Main() /* */ define window ownd from 10, 10 to 20, 30 ; nozoom ; noiconize ; nosysmenu ; no caption ; border ...
by MGA
Wed Aug 20, 2014 8:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Make a dialog never lost focus
Replies: 16
Views: 3099

Re: Porque no funciona timer en dialogo...

SGS wrote:Tente:

DEFINE TIMER oTimer OF oWnd



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.!

Saludos.
by ACC69
Wed Jun 11, 2014 4:35 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Porque no funciona timer en dialogo...
Replies: 6
Views: 1706

Re: Porque no funciona timer en dialogo...

Tente:

DEFINE TIMER oTimer OF oWnd
by MGA
Wed Jun 11, 2014 4:28 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Porque no funciona timer en dialogo...
Replies: 6
Views: 1706

Re: ejemplo c5Tooltip

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************************************************************************************************************************  ...
by Silvio.Falconi
Fri Sep 13, 2013 7:46 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ejemplo c5Tooltip
Replies: 60
Views: 24096

Re: otimer:end

paquito muchas gracias.... era la solución al problema.
by leandro
Fri Jul 12, 2013 2:53 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: otimer:end
Replies: 5
Views: 1001

Re: otimer:end

Leandro,

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.


Deberia ser oTimer:= ptimca01()


Saludos
by hmpaquito
Wed Jul 03, 2013 7:22 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: otimer:end
Replies: 5
Views: 1001

Re: otimer:end

... *****************************************DEFINE UN TIMER PARA EVITAR INACTIVIDAD****************************************FUNCTION pTimCA01(oTimer)if oTimer == nil  DEFINE TIMER oTimer INTERVAL 15000 OF oCuadro ACTION pActCA01()  ACTIVATE TIMER oTimerelse  Alert( "There ...
by leandro
Wed Jul 03, 2013 12:04 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: otimer:end
Replies: 5
Views: 1001

Re: otimer:end

Muchas gracias Maestro.
by Manuel Valdenebro
Sat Jun 22, 2013 3:13 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: otimer:end
Replies: 5
Views: 1001

Re: otimer:end

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...
by Antonio Linares
Sat Jun 22, 2013 12:32 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: otimer:end
Replies: 5
Views: 1001

otimer:end

... 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 ...
by Manuel Valdenebro
Sat Jun 22, 2013 11:05 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: otimer:end
Replies: 5
Views: 1001

Simulate blinking of a character

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 ?
by Silvio.Falconi
Thu May 23, 2013 9:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Simulate blinking of a character
Replies: 8
Views: 1205

Re: ADS + CDX no refresca

Holá, el más indicado, és que uses un DEFINE TIMER oTimer para refrescar el LISTBOX en tiempo real, desde el ACTIVATE DIALOG.

Salu2
by karinha
Tue Apr 30, 2013 4:09 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ADS + CDX no refresca
Replies: 4
Views: 846

PROBLEMAS CON COMUNICACION SERIE

... * * * **************************************************************************** METHOD ReadPort (nTime) CLASS TRS232 LOCAL cBuffer,lSalir,oTimer // inicializa parametros por defecto DEFAULT nTime := 0 // tiempo en milisegundos intentando leer // inicializa variables lSalir := .F. // objeto ...
by maruan14
Mon Aug 06, 2012 9:46 am
 
Forum: FiveWin para CA-Clipper
Topic: PROBLEMAS CON COMUNICACION SERIE
Replies: 10
Views: 5736

Re: DIRECTORY() Function not giving fresh information?

... 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 ...
by ukoenig
Sun Apr 15, 2012 11:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DIRECTORY() Function not giving fresh information?
Replies: 6
Views: 2209
PreviousNext

Return to advanced search