NSBCurrentForm: Difference between revisions
Jump to navigation
Jump to search
Line 11: | Line 11: | ||
<pre> | <pre> | ||
Rem NSBCurrentForm Example | Rem NSBCurrentForm Example | ||
Print "The current form id is " & | Print "The current form id is " & NSB.CurrentForm.id | ||
</pre> | </pre> | ||
Revision as of 14:50, 6 April 2015
NSBCurrentForm
Description
In AppStudio 5, NSBCurrentForm has been replaced by NSB.currentForm.
NSBCurrentForm returns a reference to the current form. It is set when the app starts, and is updated by the ChangeForm function.
Example
Rem NSBCurrentForm Example Print "The current form id is " & NSB.CurrentForm.id
Output
The current form id is Form1