Sunday, January 2, 2011

ToolTipAttribute class of LinsUI Layout Manager 2.1

Specifies the tooltip for the command.
Examples
using LinsUI;

public static class LinsResource
{
[CommandGroupNameAttribute("Shapes and Pictures"), // The Category name
 // Command name
 CommandNameAttribute("Color"),
 // Tell the application, it is a combobox 
 CommandTypeAttribute(TSITEM_TYPEID.COMBOBOX),  
 // Tooltip for the combobox  
 ToolTipAttribute("Select a color for a shape")]
public const long m_nColorID =  FlexConstants.m_nUserDefinedControlStartID + 1;

No comments:

Post a Comment