Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Make Create Connection ? a Modal screen
Message
 
 
À
01/04/2001 09:05:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00490677
Message ID:
00490938
Vues:
12
>You can use Read Events command and a Timer, here is an example:
>
...
>_Screen.AddObject( "ClearEventsTimer", "ClearEventsTimer")
>...
>Create Connection ?
>_Screen.ClearEventsTimer.Enabled = .T.
>Read Events
>...
>&& somewhere in your program or in VCX
>Define Class ClearEventsTimer As Timer
>    Enabled = .F.
>    Interval = 300
>    Procedure Timer
>        If ! WExist( "Connection Designer")
>            Clear Events
>            Release This
>        EndIf
>    EndProc
>EndDefine
>
>Hope this helps.
>
>Alex
>

Alex,
This probably won't work because presumably you are already in your application running within a READ EVENTS. If you try to issue another, VFP will ignore it.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform