Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programmatically add code to all controls
Message
From
12/12/2003 08:55:17
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00858363
Message ID:
00858527
Views:
22
Hi Caroline,

Typically, yes, and I did just in case (I just put the stripped down code on the UT for lurkers that functioned as I needed it to-I actually had an additional couple of lines I added also). However, the valid will work with/without the DODEFAULT() unless there is code in the parent class that needs to run. I don't have any default code (other than what I entered in the valid) that needs to process. Good practice is to include it though, you are right, so I did. I probably should have included all the code for lurkers!

>Tracy,
>Sorry to jump in (now that the code is all working) but if there previously was no code in the valid method shouldn't you be adding a DoDefault()?
>
>Caroline
.·*´¨)
.·`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"
Previous
Reply
Map
View

Click here to load this message in the networking platform