Print Page | Close Window

Please help me with sampla for foxpro (vfp9)

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=12544
Printed Date: 07 October 2024 at 10:19am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Please help me with sampla for foxpro (vfp9)
Posted By: CyberW
Subject: Please help me with sampla for foxpro (vfp9)
Date 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.



Replies:
Posted By: Oleg
Date Posted: 28 October 2008 at 3:31am

Hi.

master is CommandBars Designer ? If so, add CommandBars.LoadDesignerBars.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: CyberW
Date Posted: 28 October 2008 at 6:01am
it my data from master of forum_topics.asp?FID=116 - Command Bars
uploads/20081028_053914_Form1.xcb.zip - 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 - uploads/20081028_060027_form-1-screensh.zip


Posted By: WaleedSeada
Date 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


Posted By: Oleg
Date Posted: 04 November 2008 at 2:07am
Instead
loadCommandBars you need LoadDesignerBars


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net