show();
The show method of the Form class makes the form visible in its current state; that is, minimized, maximized, or normal.
The show method is invoked and starts execution before the load event method is invoked. Within the show method, the presence of an
Use the windowState property to control the state of the form. The first show statement for a created form executes its load event if it has not already been executed. Setting the value of the visible property to false within the load event is ignored when the show method is performed. The form must have been created before it can be shown. The create method constructs the windows and menus for the forms and its controls, as defined in the JADE development environment.
For a form defined as a Web page, the show method executes the load event, generates HTML, and returns this HTML back to the Web server. Unlike the showModal method, the logic returns to the statement following the show method after the form is made visible. Other forms can also receive user input (from the keyboard or mouse) while that form is active.
The methods in the following examples show the use of the show method.
menuCustomerAdd_click(menuItem: MenuItem input) updating; vars form : CustomerDetailsForm; begin create form transient; form.show; end; listBoxCustomers_dblClick(listbox: ListBox input) updating; vars cust : Customers; custs : CustomersByContactNameDict; form : CustMaintForExternalDB; begin create custs; cust := custs.getAtKey (listBoxCustomers.text[1:listBoxCustomers.text.pos(",", 1)-1]); create form transient; form.textBoxName.enabled := false; form.myExtCustomers := cust; form.textBoxName.text := cust.contactName; form.textBoxCity.text := cust.city; form.textBoxAddress.text := cust.address; form.show; end;
The show method cannot be used for a form created with the