Checking properties of commandbar buttons |
Post Reply |
Author | |
tgagle
Newbie Joined: 15 March 2006 Location: United States Status: Offline Points: 1 |
Post Options
Thanks(0)
Posted: 15 March 2006 at 5:15pm |
I have created a commandbar that includes several popup menu items(xtpControlPopup) each containing several buttons(xtpControlButton). I would like to be able to access the properties of the buttons. Example: I want to know if a button (by ID) is currently checked (.checked). Is this possible? |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello, of course
see in Help CXTPControl, CXTPControlPopup::GetCommandBar, CXTPCommandBar::GetControls
pControl->GetCommandBar()->GetControl(4)->GetChecke d()
etc |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |