formroller Position property
Return to Introduction  Previous page  Next page
Applies to
acCaptionButton component and all other components which uses CaptionButton as base ancestor class - acAppAutoRun, acTrayIcon, acFormTopmost, acFormRoller. Position is subproperty of SystemMenu.  

property Position: Word;  

The Position property determines the position for menu item in the system menu associated with current caption button on the form's title bar. Change the Position value to move current menu item by system menu.  
Maximum value for Position property is the current maximum number of items in the system menu (since orders for menu items starts with 0).  

See also
Separators property.