Print Page | Close Window

Help on commandbars (vb6)

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=10794
Printed Date: 15 May 2024 at 1:40pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Help on commandbars (vb6)
Posted By: xpridex
Subject: Help on commandbars (vb6)
Date Posted: 27 May 2008 at 6:36am
Hello,
I'm a new member, and i require your help gentelmen.
i'd love to have one commandbars on my MDIform, then attach it to MDIChildren with different events, which means, i ll have a button "Add" for exemple on the comandbars, witch show a message "test1" on the first MDIchild, and shows "test2" on the second MDIchild

in other terms, i d like to define the commandbars_execute on, each MDIChild

thx.



Replies:
Posted By: Oleg
Date Posted: 27 May 2008 at 7:08am

Hi,

So just catch Execute in MainForm and resend it to ActiveForm....


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


Posted By: xpridex
Date Posted: 27 May 2008 at 10:37am
that seems to be a good idea, but can u show me how to catch the event please?


Posted By: Oleg
Date Posted: 27 May 2008 at 12:24pm
Hi,
Sub CommandBar_Execute(...)
All our samples have it.


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


Posted By: Oleg
Date Posted: 27 May 2008 at 12:24pm
Hi,
Sub CommandBar_Execute(...)
All our samples  have it.


-------------
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