Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Number-style character fields
Message
 
 
À
16/05/2009 00:59:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01293663
Message ID:
01419409
Vues:
74
>Naomi,
>
>>I was just thinking that I would have to use character, e.g. unbind in gotfocus, let the user type, then replace in lostfocus...
>
>FWIW, Megafox book has an extensive numeric-textbox class for calculator-type input, and it relies generally
>on this approach. I use the Visual FoxExpress framework, and could not make it work acceptably
>within that context. I ended up implementing an unbound character-type numeric textbox that, in turn,
>updates a bound numeric textbox with Visible=.F. On the minus side, I did not like having to settle for
>using 2 controls for a single task. On the plus side, I was able to fine-tune very well the character-type
>numeric textbox to trap invalid user input and issue detailed error messages.
>
>-mark

Mark,

Have you been able to implement your class in the grid? Do you instantiate one of the classes on the fly?

Can you please elaborate more on your approach?
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