Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tab key and mouse add a 0 to my fields
Message
 
À
10/02/1999 15:12:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00185461
Message ID:
00186195
Vues:
15
>Thanks for your advise,
>
>I have tried to initialize in the init of the form a public variable with a number then set the controlsource to that variable. Doesn´t work for me. furthermore, i saw the problem using a wizard wich has all the controlsource properties set to a field in a file, numeric and non numeric. The same result. in order to modify the click event, i would have to do it on all the fields of my proyect, isn't there a better solution?
>
>I agree with the windows style behaviour, but still adds my new value to the left of the old value and i would like a dos or windows foxpro behaviour

Sorry it didn't help. I've got all my TextBoxes set to SelectOnEntry, so the numeric ones work like they should. Adding the Click event code in all TextBoxes in the project will be a big PITA one time, but it's the best solution I can come up with. It may be less of a PITA if you make a program loop which scans FRXs as tables, looking for TextBox BaseClasses and writing the code into their Click events. (On a test copy at least at first, of course, then backing up the live copy before doing it there.)

I was off track with the numeric ControlSource. That makes the TextBox behave better in some other ways, but you need SelectOnEntry to fix your problem.

Good luck,
Rich.
Rich Addison, Micro Vane, Inc., Kalamazoo, MI
Relax, don't worry, have a homebrew.
- Charlie Papazian, The New Complete Joy of Home Brewing
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform