PopUpMenu

PopUpSetRight

Set the right screen column of the menu

Syntax

Signature
xBool       PopUpSetRight( PopUpMenu *popUp, int right );

Arguments

popUp the pop-up menu.

right the right screen column, or NIL to derive the right edge from the left and the width, or center horizontally when the left 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 uses a supplied right edge as an anchor when the left is `NIL`. The final right edge follows the placed left edge and the width of the framed menu.

See also