User Tools

Site Tools

Navigation:  Templates > Guide to all Templates > Additional Libraries and Templates > MenuStyleManager Class > MenuStyleManager Methods >====== SetTextColor ( set menu text color ) ====== Previous pageReturn to chapter overviewNext page

SetTextColor( MenuTextType , TextColor )


MenuTextType A BYTE value representing a specific type of menu text to color. There are a series of internal equates available to easily identify these elements:
MenuColors:NormalText EQUATE(1)
MenuColors:SelectedText EQUATE(2)
MenuColors:HotText EQUATE(3)
MenuColors:InactiveText EQUATE(4)
TextColor A LONG integer that specifies a text color to use. There are approximately 4294967296 different colors in the 32-bit library.

The SetTextColor method sets a color for a specified MenuTextType.


The method is not called anywhere within the MenuStyleManager Class. It is an optional method that can be used by the developer to detect and possibly change the menu text color at runtime.

See Also:     GetTextColor( get menu text color )

settextcolor_set_menu_text_color_.htm.txt · Last modified: 2021/04/15 15:57 by