ChangeForm: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
<pre> | <pre> | ||
REM ChangeForm sample call | REM ChangeForm sample call | ||
Revision as of 03:59, 29 June 2012
CHANGEFORM(newForm)
Description
CHANGEFORM hides the current form and shows newForm. When the current form is hidden, its onhide() function is called. When the new form shows, its onshow() function is called. The global variable NSBCurrentForm is set to newForm.
Example
REM ChangeForm sample call ChangeForm(Form2) 'go to next form without transition Function Form1_onhide() MsgBox "Old Form Hidden" End Function Function Form2_onshow() Msgbox "Show form " & NSBCurrentForm End Function
Output
Lowercase = a Uppercase = A
Related Items