![]() |
how to move an item to a ribbon tab |
Post Reply
|
| Author | |
fc41
Newbie
Joined: 05 July 2008 Status: Offline Points: 5 |
Post Options
Thanks(0)
Quote Reply
Topic: how to move an item to a ribbon tabPosted: 13 May 2009 at 3:43am |
|
hi guyz.
i want to move my passwordchar style editbox to Welcome tab, under username editbox.
you can see screenshot and code. Public Sub RibbonLoad() Dim Don, PassEdit As CommandBarEdit Dim GroupFile As RibbonGroup Dim ControlFile As CommandBarPopup Dim rTab As RibbonTab Set RibbonBar = FMain.CMBar.AddRibbonBar("The Ribbon") Set rTab = RibbonBar.InsertTab(0, "Welcome") Set GroupFile = rTab.Groups.AddGroup("", 0) GroupFile.Add XtremeCommandBars.XTPControlType.xtpControlLabel, 501, "Username:", False, False GroupFile.Add XtremeCommandBars.XTPControlType.xtpControlLabel, 502, "Password:", False, False GroupFile.Add XtremeCommandBars.XTPControlType.xtpControlLabel, 503, "", False, False GroupFile.Add XtremeCommandBars.XTPControlType.xtpControlEdit, 504, "", False, False Set PassEdit = AddButton(RibbonBar.Controls, xtpControlEdit, 505, "") PassEdit.EditStyle = xtpEditStylePassword thanx
|
|
|
Vb6Sp6
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 14 May 2009 at 1:40am |
|
So why you call AddButton and not GroupFile.Add ?
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
fc41
Newbie
Joined: 05 July 2008 Status: Offline Points: 5 |
Post Options
Thanks(0)
Quote Reply
Posted: 14 May 2009 at 2:27am |
|
cos i saw a post of you about
- you need addbutton for passwordchar style am i wrong? |
|
|
Vb6Sp6
|
|
![]() |
|
fc41
Newbie
Joined: 05 July 2008 Status: Offline Points: 5 |
Post Options
Thanks(0)
Quote Reply
Posted: 14 May 2009 at 2:58am |
|
ok i made it
|
|
|
Vb6Sp6
|
|
![]() |
|
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 |