"Form.Load event" (?)

mjcoon

Well-Known Member
Licensed User
When I initialise a form with a table in it, I want the default selected cell not to be cell (0, 0) but one of the others, so I put the SelectCell in the same Sub that was establishing all the other aspects of the table.

When I tried to run it (under the desktop IDE) I got a very specific pop-up error message. The problem is that I don't understand it because it refers (see thumbnail) to a "Form.Load event" and I can't find this; it isn't listed as an event against a form.

TIA, Mike.
 

Attachments

  • Form.Load event (query).JPG
    21.3 KB · Views: 291

mjcoon

Well-Known Member
Licensed User
Thanks, Andrew, I was indeed doing it before the Form.Show and moving it to afterwards cured my problem.

Does that make it a misleading (given it was so specific) error message?

Cheers, Mike.
 

mjcoon

Well-Known Member
Licensed User
Ah, I see, I had wondered if this mysterious event was one that I could have got access to (had that been the only solution) via one (other) of the additional libraries (to those I'm already using!).

Cheers, Mike.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…