Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Commandbar in Powerbuilder 10.5
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Commandbar in Powerbuilder 10.5

 Post Reply Post Reply
Author
Message
LLouis View Drop Down
Newbie
Newbie


Joined: 09 August 2006
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote LLouis Quote  Post ReplyReply Direct Link To This Post Topic: Commandbar in Powerbuilder 10.5
    Posted: 09 August 2006 at 10:08pm
I couldn't display the menu using the commandbars in powerbuilder 10.5 application! my scripts is as below:

CommandBars.object.ActiveMenuBar.Controls.Add(2, 0, "&File", -1, False)

CommandBars is the name of the ole object.

 

 

Back to Top
WaleedSeada View Drop Down
Groupie
Groupie
Avatar

Joined: 29 March 2007
Location: Egypt
Status: Offline
Points: 88
Post Options Post Options   Thanks (0) Thanks(0)   Quote WaleedSeada Quote  Post ReplyReply Direct Link To This Post Posted: 06 April 2007 at 8:19am
Hello There,
 
I understand that you need to attach the control to the its host.
You need to put that line after/before using commandbar:
CommandBars.AttachToWindow(Handle(Parent Window))
 
Tel Me if you still have problems
Waleed Seada
:Powerbuilder 10.5
:Codejock suite 11.2.2
=========================
Waleed Seada
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.