Current form window
Current form window -> Function result
Parameter | Type | Description | |
---|---|---|---|
Function result | WinRef | ← | Current form window reference number |
This command is not thread-safe, it cannot be used in preemptive code.
Description
The Current form window command returns the reference of the current form window. If no window has been set for the current form, the command returns 0.
The current form window can be generated automatically using a command such as ADD RECORD, following a user action or by using the Open window or Open form window commands.