| **Navigation:**  [[templates.htm|Templates]] > Guide to all Templates > [[additional libraries and templates.htm|Additional Libraries and Templates]] > MenuStyleManager Class > MenuStyleManager Methods >====== GetLineMode(get Menu line styles) ====== | [[getisverticalgradient does menu part use a vertical gradient .htm|{{btn_prev_n.gif|Previous page}}]][[additional libraries and templates.htm|{{btn_home_n.gif|Return to chapter overview}}]][[getlinesembossed.htm|{{btn_next_n.gif|Next page}}]] | | || **GetLineMode **() {{blk2blue.jpg|blk2blue.jpg}} 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: **MenuLine:Default       EQUATE(0)** **MenuLine:ShowGutter    EQUATE(1)** **MenuLine:FullSeparator EQUATE(2)** **MenuLine:Embossed      EQUATE(4)** To get which line mode is active, use the BAND function to test the value retrieved. **Return Value:**   BYTE **Implementation:** The **GetLineMode** method is a tool for the developer to detect which line mode is active, and to toggle it if needed. **Example:** ** IF NOT ****MenuStyleMgr.GetLineMode()** **  LOC:MenuLineStyle = 'Using Default** **'** ** END** ** ** ** IF NOT ****MenuStyleMgr.GetLineMode() > 3** **  LOC:MenuLineStyle = 'Embossed is active'** ** END** **See Also:** [[setlinemode.htm|SetLineMode(set Menu line styles)]], [[applytheme set menu colors and indicators .htm|ApplyTheme(Set Menu Colors and Indicators)]]