Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Drill-down knowledge of a property having a value on a f
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Database:
Firebird
Application:
Desktop
Divers
Thread ID:
01404168
Message ID:
01404317
Vues:
64
>Hi all
>
>At the time of saving a form I need to call a method. This method needs to be called only if atleast one control on the form (drill-down to containers) has a property set to a particular value. Do we have something generic floating out there which can query the controls for me or should I have to write a recurring method to do this?
>
>Please advise.
>
>Thanks and regards,

If all of the controls have an assign method for this property and they call some form's method, then you can run this method for every control my setting this property to something with SetAll

thisform.SetAll('myCustomPropertyWithAssignMethod', 'Some value indicating that we need to run a method')
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform