Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programmatically add code to all controls
Message
 
 
To
11/12/2003 16:26:30
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00858363
Message ID:
00858371
Views:
13
Why not just put something in your Textbox baseclass GOTFOCUS method? If you
have VFP8, this would be a good use of BINDEVENT but then you would have to issue a BINDEVENT for every textbox control on the form. Putting code in 1 baseclass textbox seems easier. Or have I missed your point?

>I would like to programmatically add code to all textbox controls on a form. Ideally, the textbox valids would have:
>
>
>THISFORM.mcalendorse=.T.
>
>
>so that whenever a user keys through a textbox control on the form, the form's value of mcalendorse is set to true. It needs to go BEFORE any other existing code already in the valid. I need to know if the user keyed through the text box controls at all. Can .setall be used for this? How to do it ?
>
>TIA,
>Tracy
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform