Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Text_Access method.
Message
De
11/10/2001 17:57:27
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00566997
Message ID:
00567277
Vues:
16
>I have a text box class with an value_access and value_assign method that formats the text that gets displayed in the textbox. It is for displaying a folder path and it chops the string down so it fits in the textbox.
>
>The value_assign stores the real value in a custom prop, chops the string, and passes it on.
>
>The value_access retrieves the real value, and returns that.
>
>My question is should I add a text_access method that retrieves the true value or should text retrieve the displayed (chopped) value?

Careful with Value_Assign. It's very presence trips GETFLDSTATE when the control is refreshed.
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform