Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programmatically add code to all controls
Message
From
11/12/2003 16:26:30
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Programmatically add code to all controls
Miscellaneous
Thread ID:
00858363
Message ID:
00858363
Views:
52
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
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Next
Reply
Map
View

Click here to load this message in the networking platform