Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why Does BindEvents and ThisForm.Hide( ) not seem to wor
Message
 
 
À
11/08/2004 12:38:15
Anthony Testi
Fabtrol Systems Inc.
Eugene, Oregon, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00932399
Message ID:
00932407
Vues:
13
BINDEVENT is usually used to run code in a delegate method and is not really a substitute to fire an event when a button is clicked in your example. Maybe you want to use RAISEEVENT()?

>I’m just starting working with BindEvents and while I have been able to bind to my custom form methods I cannot seem to get it to work with ThisForm.Hide. For example:
>
>
>BINDEVENT( ThisForm.cmdexit, 'click', ThisForm, 'Hide', 1 )
>
>
>Does not hide the form as I would expect. If I put in the LOC of ThisForm.Hide( ) in the cmdExit click button it works fine. I get no compile or runtime errors, and I find nothing in the help guide that makes me think that I cannot do this.
>
>What am I missing? ( BTW using VFP 8.0 )
>
>Anthony L. Testi
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform