General information
Category:
Coding, syntax & commands
>I would like to add to what you have received in replies so far (which are all really great). There may be times (not a standard) when you will need to setfocus to a specific control based upon the value entered in the current control. While you cannot setfocus from the valid you can from the lostfocus.
Tracy;
I may be incorrect (I have not tried this for about 5 years) but I think you can set focus from a Valid by setting Return -1, etc. If I recall, we did that on one project. I think I have also seen it done with a framework I use.
An exception like the above is a kluge to me. I think it is better to "obey the rules" and not worry about bandages. :)
Tom
>
>
>>I have seen some interesting code lately where instead of code in the valid method; the programmer is using lost focus.
>>
>>What are the advantages/disadvantages of such methodology? What is preferred? Why?
>>
>>Thanks
>>
>>Ric
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only