NSBCurrentForm: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
NSBCurrentForm
NSB.CurrentForm


== Description ==
== Description ==
Line 5: Line 5:
'''In AppStudio 5, NSBCurrentForm has been replaced by NSB.currentForm.'''
'''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.
NSB.CurrentForm returns a reference to the current form. It is set when the app starts, and is updated by the [[ChangeForm]] function.


== Example ==
== Example ==

Revision as of 11:16, 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