Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Putting commas in text box using program
Message
De
05/04/2004 18:48:17
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
05/04/2004 11:50:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00892254
Message ID:
00892464
Vues:
26
>>>thank you Hilmar, i think is better with setall()...
>
>>In the case you describe, I suppose it is. Consider the class alternative >when similar objects are dispersed amongst several forms.
>
>You are right, when similar objects textbox like name of customer and salary i have the problem that setall("inputmask","999,999,999.99","textbox") do you know some way to identify when textbox is using really number and not text? some different like do my own textbox class because i'm trying to do not have to change every textbox in several forms...
>
>thanks

It is for those cases that I suggested the class. You have to replace all relevant textboxes with your specialized class, but that is only once. Then, any change will not have to be copied & pasted, but will work in all relevant textboxes, in all forms, through the magic of inheritance.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform