API Documentation > Custom user interface > Object ProUIOptionmenu > Function ProUIOptionmenuAnchorSet
Function ProUIOptionmenuAnchorSet
Description
Sets the position of the option menu with respect to a given anchor location. This function is applicable only if the parent of the option menu is a drawing area.
Synopsis
ProUIOptionmenuAnchorSet
(
char* dialog
/* (In)
The name of the dialog that contains the option menu.
*/
char* component
/* (In)
The name of the option menu component.
*/
int x
/* (In)
X value with respect to the upper left corner of the parent.
*/
int y
/* (In)
Y value with respect to the upper left corner of the parent.
*/
/* (In)
Location on the option menu used to set the position.
*/
)
Returns
The function succeeded.
The function failed.
One or more input arguments was invalid.
User Guide References
Was this helpful?