Question:
Sometimes when I call
Text1.SetFocusit returns me an “Illegal function call” error. Any idea why?
Answer:
Normally, if the Form is not visible, you can’t call SetFocus to it. I would imagine you get this error when you call this code from Form_Load. The control is not available at that point in the application load process.
Charlie has over a decade of experience in website administration and technology management. As the site admin, he oversees all technical aspects of running a high-traffic online platform, ensuring optimal performance, security, and user experience.






















