Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determine if controlsource is a field or a variable/prop
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00592686
Message ID:
01412756
Vues:
47
>Hi Naomi,
>
>>What if the ControlSource is a complex expression? How would we determine if it's an expression or a real field?
>
>Precisely for these reasons I've given up on trying to figure out the content of the ControlSource myself. When I have a complex control that needs it's own control source, I use an invisible textbox for data storage and retrivial. The complex class creates this textbox, sets the controlsource to its own property and then uses the Value property to read and write. Any code that tries to parse the ControlSource only works in specific environments, but a generic solution is quite complex.

Thanks a lot for the answer.
If it's not broken, fix it until it is.


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

Click here to load this message in the networking platform