Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - How to get the correct parent of an control?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to get the correct parent of an control?

 Post Reply Post Reply
Author
Message
Micca View Drop Down
Groupie
Groupie


Joined: 26 November 2008
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote Micca Quote  Post ReplyReply Direct Link To This Post Topic: How to get the correct parent of an control?
    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
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.203 seconds.