NSBCurrentForm: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
Line 10: Line 10:


<pre>
<pre>
Rem NSBCurrentForm 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 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 NSB.currentForm Example
Print "The current form id is " & NSB.CurrentForm.id

Output

The current form id is Form1