Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Please help me with sampla for foxpro (vfp9)
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Please help me with sampla for foxpro (vfp9)

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


Joined: 27 October 2008
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote CyberW Quote  Post ReplyReply Direct Link To This Post Topic: Please help me with sampla for foxpro (vfp9)
    Posted: 27 October 2008 at 12:46pm
Please help me with sampla for foxpro (vfp9) to use Command Bars.

I create form and put ActiveX control to form, next i use master for create menu buttons and press save button, and run form, but buttons not see on screen.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 28 October 2008 at 3:31am

Hi.

master is CommandBars Designer ? If so, add CommandBars.LoadDesignerBars.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
CyberW View Drop Down
Newbie
Newbie


Joined: 27 October 2008
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote CyberW Quote  Post ReplyReply Direct Link To This Post Posted: 28 October 2008 at 6:01am
it my data from master of Command Bars
uploads/20081028_053914_Form1.xcb.zip

i add to Init method this code(vfp9):
thisform.commandBars.loadCommandBars("d:\Form1.xcb")

and run form, but on screen is no my bars, it is empty, object see on form and i move this.

uploads/20081028_060027_form-1-screensh.zip
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: 03 November 2008 at 8:49am
Hello CyberW,
 
Try the AttachTowindow method;
   CommandBars.AttachToWindow hWnd
 
best regards
 
:Powerbuilder 10.5
:Codejock suite 11.2.2
=========================
Waleed Seada
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 04 November 2008 at 2:07am
Instead
loadCommandBars you need LoadDesignerBars
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.154 seconds.