Print Page | Close Window

How to get the correct parent of an control?

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=19349
Printed Date: 26 November 2024 at 7:49pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to get the correct parent of an control?
Posted By: Micca
Subject: How to get the correct parent of an control?
Date Posted: 22 December 2011 at 9:42am
hi,

i have a commandbar with a CommandBarPopup-Button with the caption "disks". I add a ControlSplitButtonPopup-button to this button with the caption "c:". And the ControlSplitButtonPopup-button get a button with the caption "...".

CommandBarPopup-Button -> ControlSplitButtonPopup -> ControlButton

Example:

-"disks"
--C:
---...

Now i press the button "..." and i need a refrence of the control "C:" at the commandbar function "Execute". The function "Execute" give me a reference to the control "...", but the Parent Property give me only a refrence to the commandbar...

Any hints?




-------------
Micca

---------------------

Product: Xtreme Commandbars (ActiveX) Version 17.2

Platform: Win7 64bit

Language: Visual Basic 6.0 SP6



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