Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Make Create Connection ? a Modal screen
Message
De
01/04/2001 09:05:54
 
 
À
31/03/2001 23:57:59
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:
00490712
Vues:
14
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

>I want to use the ODBC connection designer as a modal screen while I am in an APP to allow a user to create or update an existing ODBC conneciton.
>
>When I run CREATE CONNECTION ? I get the conneciton designer but it immediately returns control to my program and I loose the focus of this screen. I want to stop processing my app until the user closes the connection designer.
>
>Any help would be appreciated.
>
>Demetrius
Alex
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform