What Is Form Load Event

What Is Form Load Event

The Form Load Event in VB . NET. An important event you’ll want to write code for is the Form Load event. You might want to, for example, set the Enabled property of a control to False when a form loads. … You can do all this from the Form Load event.

How do I create a form load event?

Load += new EventHandler(ProgramViwer_Load); A third way using the designer (probably the quickest) – when you create a new form, double click on the middle of it on it in design mode. It’ll create a Form load event for you, hook it in, and take you to the event handler code.

How do you load a form in Access?

  1. Click the File tab, and then under Help, click Options.
  2. Click Current Database.
  3. Under Application Options, in the Display Form list, select the form that you want to display when the database starts.
  4. Click OK, and then close and reopen the database to display the startup form.
James H. Sterling
Author

James H. Sterling

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.