DisableFormEvents |
Disables the following form events: � Click � DoubleClick �
Activate � Deactivate and the following field events: � Click (except buttons) � DoubleClick � GotFocus � LostFocus. This form method is useful for applications running on high usage systems. If the events listed are not used in the application, disabling these form events can reduce client-server overhead. |
formname.DisableFormEvents |
|
Swap |
Hides a form's content and display a second form within the form's original window. |
formname.Swap(swapform) The swapform argument can be any string expression that is a valid form name. This method allows the programmer to dramatically change the interface in the window without hiding and unhiding fields. Be sure to put the swapform argument as a string and not a direct reference to the form object. If the swapform
argument is a direct reference to the form object, the form's default attribute, Title, will be used as the swap form name. |
Form1.Swap("Form2) 'Correct! Form1.Swap(Form2) 'Incorrect! Passes Form2's title as an argument. |