![]() |
Custom control in CommandBar |
Post Reply
|
| Author | |
Onur
Groupie
Joined: 17 August 2005 Status: Offline Points: 37 |
Post Options
Thanks(0)
Quote Reply
Topic: Custom control in CommandBarPosted: 02 May 2008 at 7:49pm |
|
Hi,
Does anybody know how I can add a numeric up-down control to a commandbar menu? I searched the forum and the samples... Didn't help... |
|
|
Product: Xtreme SuitePro (ActiveX) version 12.0.1
Platform: Windows XP (32bit) - SP 2 Language: Visual C# .NET |
|
![]() |
|
Aaron
Senior Member
Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
Quote Reply
Posted: 03 May 2008 at 3:05pm |
|
Hi,
Add Menu item (popup) to commandbar:
Dim ControlMenuItem As CommandBarPopup
Set ControlMenuItem = CommandBars.ActiveMenuBar.Controls.Add(xtpControlPopup, YOUR_ID, "Test") Add Editbox to submenu item:
Dim editSpinButton As CommandBarEdit Set editSpinButton = ControlMenuItem.CommandBar.Controls.Add(xtpControlEdit, YOUR_ID, "Test edit") editSpinButton.ShowSpinButtons = True |
|
|
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 Zero replies is not an option.... |
|
![]() |
|
Onur
Groupie
Joined: 17 August 2005 Status: Offline Points: 37 |
Post Options
Thanks(0)
Quote Reply
Posted: 03 May 2008 at 3:55pm |
|
Just realized that (ShowSpinButtons)..
Thanks a lot.. |
|
|
Product: Xtreme SuitePro (ActiveX) version 12.0.1
Platform: Windows XP (32bit) - SP 2 Language: Visual C# .NET |
|
![]() |
|
Aaron
Senior Member
Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
Quote Reply
Posted: 04 May 2008 at 9:17am |
|
Hi,
btw I think it's a good idea to use the text in the signature to show the members what your version, OS and development language is. If you don't use it, you can use it for this, right
![]() |
|
|
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 Zero replies is not an option.... |
|
![]() |
|
Onur
Groupie
Joined: 17 August 2005 Status: Offline Points: 37 |
Post Options
Thanks(0)
Quote Reply
Posted: 04 May 2008 at 3:42pm |
|
definitely : )
|
|
|
Product: Xtreme SuitePro (ActiveX) version 12.0.1
Platform: Windows XP (32bit) - SP 2 Language: Visual C# .NET |
|
![]() |
|
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 |