| **Navigation:**  [[templates.htm|Templates]] > Guide to all Templates > [[additional libraries and templates.htm|Additional Libraries and Templates]] > MenuStyleManager Class > MenuStyleManager Methods >====== SetLineMode(set Menu line styles) ====== | [[setimage apply image to menu part .htm|{{btn_prev_n.gif|Previous page}}]][[additional libraries and templates.htm|{{btn_home_n.gif|Return to chapter overview}}]][[setlinesembossed.htm|{{btn_next_n.gif|Next page}}]] | | || **SetLineMode **( //value// ) | Value | A BYTE representing bit-mapped values, each representing a particular line mode. | {{blk2blue.jpg|blk2blue.jpg}} The **SetLineMode** method is used to set up to three 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 set a combination of line modes, simply add the appropriate equate to the method. **Return Value:**   None **Implementation:** **SetLineMode** should be applied prior to the **ApplyTheme** method. **Example:** ** LOC:MenuLine = MenuLine:Default** ** IF GLO:Separator3D** **  LOC:MenuLine += MenuLine:Embossed** ** END** ** IF GLO:FullSeparator** **  LOC:MenuLine += MenuLine:FullSeparator** ** END** ** IF GLO:VerticalLine** **  LOC:MenuLine += MenuLine:ShowGutter** ** END   ** ** ****MenuStyleMgr.SetLineMode(LOC:MenuLine)** ** END** ** MenuStyleMgr.ApplyTheme()** ** MenuStyleMgr.Refresh(TRUE)** ** DISPLAY()** **See Also:** [[getlinemode.htm|GetLineMode(get Menu line styles)]], [[applytheme set menu colors and indicators .htm|ApplyTheme(Set Menu Colors and Indicators)]]