On 03.06.2013 21:50, Regina Henschel wrote:
Hi,
in main\svx\source\sidebar\text\TextPropertyPanel.src
I notice, that the container ToolBox has a HelpID, but the commands
are in ToolBoxItem. For example:
ToolBox TB_FONTCOLOR
{
HelpID = HID_PPROPERTYPANEL_TEXT_TBX_FONT_COLOR;
SVLook = TRUE ;
Pos = MAP_APPFONT (X3, THIRD_LINE_Y) ;
Size = MAP_APPFONT (TOOLBOX_ITEM_DD_WIDTH ,TOOLBOX_ITEM_HEIGHT ) ;
TabStop = TRUE ;
ItemList =
{
ToolBoxItem
{
Identifier = TBI_FONTCOLOR ;
HelpID = HID_PPROPERTYPANEL_TEXT_TBI_FONT_COLOR;
DropDown = TRUE ;
Command = ".uno:Color";
};
};
};
If I move the mouse around that field, I get no spot, where I see
HID_PPROPERTYPANEL_TEXT_TBX_FONT_COLOR;
Therefore my question, is this HelpID for ToolBox needed at all?
Probably not.
- The toolbox items should cover the whole toolbox and therefore leave
no space where HID_PPROPERTYPANEL_TEXT_TBX_FONT_COLOR would be active.
- It looks like the help text tied to the command URL (".uno.Color" in
this case) orverrides the help text defined by the HelpID. This would
mean that we can drop HelpId on both levels (toolbox and item).
-Andre
Kind regards
Regina
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]