Cannot translate Caption on TToolButton

All announcements, questions and issues related to the TsiLang Components Suite.
Post Reply
kkgian
Posts: 7
Joined: Fri May 16, 2003 8:32 am

Cannot translate Caption on TToolButton

Post by kkgian »

1 TActionList - Create 1 action1 and set caption 'Action No.1'
1 ControlBar, 1 Toolbar and a Toolbutton.
1 PopupMenu (Pop1) - put some command if you like
ToolButton
- style tbsDropDown, DropDownMenu = Pop1.
-Action= action1 (the caption automatically follow Action1's
(but I change to 'Act' cause don't want too long).

Now... I cannot find the word 'Act' in siLang1. How to get it?

Please advice.
TIA
Gian
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

If you have associated action to toolbutton then the caption of button should be translated by translating the appropriate action. This is the recommended by Borland way to go. In case you need to use different captions for toolbutton and action you may just clear action property of toolbutton and you will have appeared toolbutton caption in captions list.
Post Reply