OBJECT Get flyout mode
OBJECT Get flyout mode ( * ; object : Text ) : Text
OBJECT Get flyout mode ( object : Variable, Field ) : Text
| Parameter | Type | Description | |
|---|---|---|---|
| * | Operator | -> | If specified, objectName is a form object name |
| object | Text, Variable, Field | → | Drop-down list object name (if * is specified) or Variable or field (if * is omitted) |
| Function result | Text | <- | Current flyout mode |
History
| Release | Changes |
|---|---|
| 21 R6 | Created |
Description
OBJECT Get flyout mode returns the current flyout mode of a drop-down list object.
If you specify the optional * parameter, you indicate an object name (a string) in object. If you omit the optional * parameter, you indicate a field or a variable in object. In this case, you specify a field or form variable reference.
The current flyout mode of a drop-down list can have been set at the form level in the Property list, or for the current process using the OBJECT SET FLYOUT MODE command.
The following values can be returned:
| Constant | Value | Comment |
|---|---|---|
Flyout automatic | "automatic" | pop-up or pulldown, depending on the OS and data source (legacy) |
Flyout pop up | "popup" | pop-up flyout mode |
Flyout pull down | "pulldown" | menu-like flyout mode |
See Flyout mode for more information.
Example
var $mode : Text
$mode:=OBJECT Get flyout mode(*; "myDrop")
See also
OBJECT SET FLYOUT MODE
Drop-down List
Flyout mode
Properties
| Command number | 1870 |
| Thread safe | no |