NSBCurrentForm: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
NSBCurrentForm
NSB.CurrentForm


== 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.
 
NSBCurrentForm returns a reference to the current form. It is set when the app starts, and is updated by the [[ChangeForm]] function.


== Example ==
== Example ==


<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>



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