![]() |
VB Menus |
Post Reply
|
| Author | |
Shragel
Groupie
Joined: 15 May 2006 Status: Offline Points: 48 |
Post Options
Thanks(0)
Quote Reply
Topic: VB MenusPosted: 01 January 2007 at 2:10pm |
|
Updated to the latest version and i still cant see the vb menus. I just added the control to the form.
|
|
![]() |
|
Shragel
Groupie
Joined: 15 May 2006 Status: Offline Points: 48 |
Post Options
Thanks(0)
Quote Reply
Posted: 11 January 2007 at 2:27pm |
|
Is there anything else that i need to do except just adding the control?
|
|
![]() |
|
moe188
Senior Member
Joined: 27 March 2006 Status: Offline Points: 225 |
Post Options
Thanks(0)
Quote Reply
Posted: 11 January 2007 at 5:06pm |
|
hi,
try this sample: Private Sub Form_Load() Dim ControlFile As CommandBarPopup Dim Control As CommandBarControl Set ControlFile = CommandBars1.ActiveMenuBar.Controls.Add(xtpControlPopup, 0, "&File") With ControlPatient.CommandBar.Controls .Add xtpControlButton, FILE_NEW, "New..." Set Control = .Add(xtpControlButton, FILE_OPEN, "Open...") Set Control = .Add(xtpControlButton, FILE_SAVE, "Save...") Set Control = .Add(xtpControlButton, FILE_CLOSE, "Close") Set Control = .Add(xtpControlButton, FILE_PRINT, "Print"): Control.BeginGroup = True: Control.Enabled = False Set Control = .Add(xtpControlButton, FILE_PRINT_SETUP, "Print Setup"): Control.Enabled = False Set Control = .Add(xtpControlButton, FILE_EXIT, "Exit"): Control.BeginGroup = True End With End Sub |
|
![]() |
|
Shragel
Groupie
Joined: 15 May 2006 Status: Offline Points: 48 |
Post Options
Thanks(0)
Quote Reply
Posted: 11 January 2007 at 5:11pm |
|
I don't want to create new menus. I want it should use the existing VB menus.
|
|
![]() |
|
joeliner
Senior Member
Joined: 09 June 2006 Status: Offline Points: 273 |
Post Options
Thanks(0)
Quote Reply
Posted: 16 January 2007 at 10:46am |
|
Hi shragel,
Are you using the skinframework? I tested the same on some of my progs. and vb menus wont show on prog. that has skin applied. Try to remove skin, they appear. thanks |
|
|
Product: Xtreme SuitePro (ActiveX) version 13.1
Platform: Windows XP SP 3 Language: Visual Basic 6 SP6 |
|
![]() |
|
Shragel
Groupie
Joined: 15 May 2006 Status: Offline Points: 48 |
Post Options
Thanks(0)
Quote Reply
Posted: 16 January 2007 at 1:26pm |
|
I dont have the skinframework control.
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 16 January 2007 at 1:42pm |
|
Hi,
Attach application you tried.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Shragel
Groupie
Joined: 15 May 2006 Status: Offline Points: 48 |
Post Options
Thanks(0)
Quote Reply
Posted: 16 January 2007 at 2:10pm |
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 16 January 2007 at 2:39pm |
|
Hi,
move controls down. They overlap menu.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Shragel
Groupie
Joined: 15 May 2006 Status: Offline Points: 48 |
Post Options
Thanks(0)
Quote Reply
Posted: 16 January 2007 at 2:42pm |
|
Why doesn't it do it automatically. The same way vb handles the menus. It would be very hard for me to go in to each screen make it a little bigger move down all controls. Also will the screen stay the same size?
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 16 January 2007 at 2:56pm |
|
Hi, it is not possible. standard menu is non client area.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Shragel
Groupie
Joined: 15 May 2006 Status: Offline Points: 48 |
Post Options
Thanks(0)
Quote Reply
Posted: 16 January 2007 at 3:13pm |
|
Also when changing checked it doesn't get shown.
Also it moves alot up and down the screen on repaint. |
|
![]() |
|
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 |