|Navigation: Templates > Guide to all Templates > Additional Libraries and Templates > MenuStyleManager Class > MenuStyleManager Methods >====== GetLineMode(get Menu line styles) ======|
The GetLineMode method is used to get up to four different line styles for the active menu.
This method uses the following bit-mapped equates:
To get which line mode is active, use the BAND function to test the value retrieved.
Return Value: BYTE
The GetLineMode method is a tool for the developer to detect which line mode is active, and to toggle it if needed.
IF NOT MenuStyleMgr.GetLineMode()
LOC:MenuLineStyle = 'Using Default '
IF NOT MenuStyleMgr.GetLineMode() > 3
LOC:MenuLineStyle = 'Embossed is active'