![]() |
VB Menus |
Post Reply ![]() |
Author | |
Shragel ![]() Groupie ![]() Joined: 15 May 2006 Status: Offline Points: 47 |
![]() ![]() ![]() ![]() ![]() Posted: 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: 47 |
![]() ![]() ![]() ![]() ![]() |
Is there anything else that i need to do except just adding the control?
|
|
![]() |
|
moe188 ![]() Senior Member ![]() Joined: 27 March 2006 Status: Offline Points: 220 |
![]() ![]() ![]() ![]() ![]() |
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: 47 |
![]() ![]() ![]() ![]() ![]() |
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 |
![]() ![]() ![]() ![]() ![]() |
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: 47 |
![]() ![]() ![]() ![]() ![]() |
I dont have the skinframework control.
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Attach application you tried.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Shragel ![]() Groupie ![]() Joined: 15 May 2006 Status: Offline Points: 47 |
![]() ![]() ![]() ![]() ![]() |
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
move controls down. They overlap menu.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Shragel ![]() Groupie ![]() Joined: 15 May 2006 Status: Offline Points: 47 |
![]() ![]() ![]() ![]() ![]() |
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 ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
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: 47 |
![]() ![]() ![]() ![]() ![]() |
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 |