FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour Cerrar un Dialog luego de un tiempo
Posts: 72
Joined: Tue Oct 02, 2012 04:36 PM

Cerrar un Dialog luego de un tiempo

Posted: Thu Jan 31, 2013 01:16 PM

Amigos

Alguien tiene un ejemplo de como cerrar un Dialog luego de un cierto tiempo de no tener ninguna actuvidad ?

gracias

david :roll:

Posts: 1710
Joined: Tue Oct 28, 2008 06:26 PM

Re: Cerrar un Dialog luego de un tiempo

Posted: Thu Jan 31, 2013 03:45 PM
David aqui un Ej:
Code (fw): Select all Collapse
 DEFINE DIALOG oDlg OF oWnd FROM 125,207 TO 520,873 PIXEL TITLE "FACTURAS" 
    
    DEFINE TIMER oTimer INTERVAL 400000 ACTION (oDlg:End(),oTimer:End())

 ACTIVATE DIALOG oDlg CENTERED ON INIT oTimer:Activate()
  oTimer:End()


Saludos,

Adhemar
Saludos,



Adhemar C.
Posts: 105
Joined: Thu Feb 26, 2009 04:08 PM

Re: Cerrar un Dialog luego de un tiempo

Posted: Thu Jan 31, 2013 04:52 PM

Esta bien el timer, pero como determinas si el dialogo no halla tenido algun cambio ?

Continue the discussion