NSBCurrentForm: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
No edit summary
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:


== Description ==
== 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.
NSB.CurrentForm returns a reference to the current form. It is set when the app starts, and is updated by the [[ChangeForm]] function.
Line 11: Line 9:
<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>



Latest revision as of 21:41, 20 April 2017

NSB.CurrentForm

Description

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