SiComponents Home Page SiComponents Forums
Here you will be able to get help and share your experience
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Top Level Actions

 
Post new topic   Reply to topic    SiComponents Forums Forum Index -> TsiLang Components Suite
View previous topic :: View next topic  
Author Message
alanmcd



Joined: 07 Jan 2007
Posts: 8

PostPosted: Mon Jan 08, 2007 10:44 am    Post subject: Top Level Actions Reply with quote

From the FAQ on translating top level actions:
1. For every TActionClientItem without a TAction create a "fake" Action and link them. For example, if your TActionMainMenuBar has a top-level menu item '&File', create a new action FileFile1, set its .Caption property to '&File', and link them.

How do you "link them"
I'm having no success here. I have create a non-categorised action called acnFile - I can see it and translate it in the translation editor, but the top level item remains in english.
Any idea what I'm missing?
Alan
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2097

PostPosted: Mon Jan 08, 2007 12:07 pm    Post subject: Reply with quote

Just select top-level toolbar-menu item and set its Action property to this acnFile action. To select them just click on them at design-time you will see in Object Inspector selected something like TActionClients[0]. It has Action property which you assign. There is ActionManager demo project in the TsiLang delivery which demonstrates the translation of these items.
Please let me know if this helps.
Back to top
View user's profile Send private message
alanmcd



Joined: 07 Jan 2007
Posts: 8

PostPosted: Tue Jan 09, 2007 6:01 am    Post subject: Reply with quote

seems to have been a refresh issue in my IDE - I can link it now but for ages there when I was clikcing on the top-level item on the actionmenutoobar, the object inspector wasn;t giving me the item.
thanks
Alan
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SiComponents Forums Forum Index -> TsiLang Components Suite All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by p h p B B  © 2001, 2005 p h p B B  Group