edit commandbar item |
Post Reply |
Author | ||
mozaheb
Senior Member Joined: 03 April 2008 Status: Offline Points: 104 |
Post Options
Thanks(0)
Posted: 09 August 2008 at 2:55am |
|
hi.
how edit the commandbar`s Item? i have menubar with commandbar component. now i need to edit this menu item. examole: first: i have: file>new>new project second : i need edit to : file> new>new form please answer to my question. thanks |
||
jpbro
Senior Member Joined: 12 January 2007 Status: Offline Points: 1354 |
Post Options
Thanks(0)
|
|
If you are using Actions, you can change all instances of the caption as follows:
Where ID_NUMBER is the ID of the command bar item. If you aren't using actions, you can use FindControl (works best when there is only one item with the ID you are looking for:
Alternately, when adding your control you can assign it to a module level variable (e.g. Set mobjNew = Me.CommandBars1.Add("Standard", xtpBarTop).Controls.Add(xtpControlLabel ID_NUMBER, "") ) and then change the caption of that variable (e.g. mobjNew.Caption = "New Form") |
||
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3 Language: Visual Basic 6.0 SP6 |
||
mozaheb
Senior Member Joined: 03 April 2008 Status: Offline Points: 104 |
Post Options
Thanks(0)
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |