Sunday, January 2, 2011

DetailDescriptionAttribute class of LinsUI Layout Manager 2.1

Specifies the detail description for the command. If user clicks at the  ? icon on the tooltip, the system will pop up a dialog which will give this detail description.
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 the shape"),
 // The detail description        
 DetailDescriptionAttribute("Select a color, the shape  will automatically update with the selected color...")]     
public const long m_nColorID =  FlexConstants.m_nUserDefinedControlStartID + 1;
}

No comments:

Post a Comment