Saltar para o conteúdo principal
Versão: Próximo

OBJECT SET FLYOUT MODE

OBJECT SET FLYOUT MODE ( * ; object : Text ; mode : Text )
OBJECT SET FLYOUT MODE ( object : Variable, Field ; mode : Text )

Parameters​

ParameterTypeDescription
*Operator→If specified, objectName is a form object name
objectText, Variable, Field→Drop-down list object name (if * is specified) or
Variable or field (if * is omitted)
modeText→Flyout mode: "automatic", "popup", or "pulldown"
History
ReleaseChanges
21 R6Created

Description​

OBJECT SET FLYOUT MODE sets the flyout display mode of a drop-down list object at runtime.

nota

On Windows, this command requires that the FluentUI rendering mode is used.

In mode you can use one of the following constants:

ConstantValueComment
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 on the display modes.

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.

When called with a supported value, the object appearance is updated immediately; no form refresh is required.

If mode is any other text value, no error is raised, the value is ignored, and the current flyout mode remains unchanged.

Example​

// Force pull-down mode
OBJECT SET FLYOUT MODE(*; "myDrop"; Flyout pull down)

// Later, switch back to legacy automatic behavior
OBJECT SET FLYOUT MODE(*; "myDrop"; Flyout automatic)

See also​

OBJECT Get flyout mode
Drop-down List
Flyout mode

Properties​

Command number1869
Thread safeno