NSBCurrentForm: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
No edit summary
Line 11: Line 11:
<pre>
<pre>
Rem NSB.currentForm Example
Rem NSB.currentForm Example
Print "The current form id is " & NSB.CurrentForm.id
Print "The current form id is " & NSB.currentForm.id
</pre>
</pre>



Revision as of 11:29, 12 April 2015

NSB.CurrentForm

Description

In AppStudio 5, NSBCurrentForm has been replaced by NSB.currentForm.

NSB.CurrentForm returns a reference to the current form. It is set when the app starts, and is updated by the ChangeForm function.

Example

Rem NSB.currentForm Example
Print "The current form id is " & NSB.currentForm.id

Output

The current form id is Form1