PopUpMenu

PopUpSetTop

Set the top screen row of the menu

Syntax

Signature
xBool       PopUpSetTop( PopUpMenu *popUp, int top );

Arguments

popUp the pop-up menu.

top the top screen row, or NIL to derive the top edge from the bottom edge, or center vertically when the bottom edge is also NIL.

Return value

T on success, or F if the object is NULL.

Description

The setter stores the coordinate for the next layout. Placement derives a `NIL` top edge from the bottom edge when supplied. If both rows are `NIL`, the menu is centered vertically.

See also