unable to set xtpcontrolbutton in xtptoolbar popup |
Post Reply |
Author | |
rattana
Newbie Joined: 17 November 2009 Status: Offline Points: 3 |
Post Options
Thanks(0)
Posted: 19 November 2009 at 5:55am |
Hi;
I am facing a problem in the behaviour of xtpButtons in xtpcontrolPopup on toolbar.
When i click on any xtpcontrolbutton inside the popup; it should make the clicked item as the Topmost button of pop up. But this is not behaving right , and i didn't find anything in Cxtpcontrol class.
So please suggest me , whether ther's any style which i got miss or anything else
thnx
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
"But this is not behaving right" - What not behaving right ? What you tried ?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
rattana
Newbie Joined: 17 November 2009 Status: Offline Points: 3 |
Post Options
Thanks(0)
|
well I could not find any style or function or any flag to achieve this kind of functionality in CXTPcontrolpopup.
I wish that when I click any controlbutton under xtpcontrolpopup;The clicked button should become the topmost index.
Something similar to the flyout toolbars behavior
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi, Catch Button execute event (see Samples) check what parent of button and if its your Popup Control call
pButton->GetControls()->MoveBefore(pButton, 0);
|
|
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 |