Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Page.Activate and uiEnable
Message
De
06/11/2003 18:51:15
 
 
À
06/11/2003 16:35:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00847372
Message ID:
00847437
Vues:
20
>I'm using VFP 7.0
>
>Is there any difference between these 2 code samples?
>
>......Page3.Activate()
>  This.myControl.Enabled = Thisform.SomeProperty
>
>
>......Page3.myControl.UIEnable
>LPARAMETERS lEnable
>if lEnable
>  this.Enabled = Thisform.SomeProperty
>endif
>
Only in that you can add that code to your baseclass control and have it automatically be included, whereas the code in the Activate would have to be added manually. Why, are you seeing something different in the way they execute?
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform