Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Putting commas in text box using program
Message
De
05/04/2004 10:19:30
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
05/04/2004 10:14:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00892254
Message ID:
00892259
Vues:
23
>Hi all, i have a form called parameter in wich user can select number of decimal numbers displayed in a text box showing a number. I need that the form change when user choose 0 decimal places, 2 decimal places, 3 decimal places. The program must change every textbox in the form that displays a number... Any ideas
>
>Thank you all

You could use a textbox based on a class. In the class, write the code to change the InputMask, for instance, in Init(), GotFocus() or Refresh(), depending on your needs.

This would work in every form where you use this class.

Another way to do this is to loop through all TextBoxes in your form. See amembers(), and SetAll().
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform