General information
Category:
Forms & Form designer
Title:
SetFocus - The BIG Question
Environment versions
Network:
Windows 2000 Server
I still have a problem with SETFOCUS. Many have suggested that I Use LOSTFOCUS when I want to avoid the error message "Cannot Call SetFocus ..."
The BIG QUESTION is; Why in other forms in the same application, SETFOCUS executes without the error even if I put it in the RIGHTCLICK or CLICK Events of A COMMANDBUTTON but in others it doesn't. Create a scenario that leads to this error then using that example explain to me how you solve it. Let the COMMANDBUTTON have some code in the RIGHTCLICK Event that will be run when Rightclicked, then Setfocus to another object in the same form.
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