![]() |
Adding two controls on same row in TskPnl |
Post Reply
|
| Author | |
jigarmehtamscit
Groupie
Joined: 29 October 2005 Location: India Status: Offline Points: 64 |
Post Options
Thanks(0)
Quote Reply
Topic: Adding two controls on same row in TskPnlPosted: 10 March 2006 at 2:45pm |
|
Hi,
I am using CXTPTaskPanel for my application. Now, I have some editboxes and Spin controls combination at couple of location in my design. I want to include those in task panel. So, how can I do that.. My design says, i should put editbox and immediate to it should be spin control. Spin control changes should be applied to editbox directly so, user should see both controls as the same control. I think that is enough for understanding my design. So, how to do that with task panel. My following code puts two controls but both on two different rows.. thats not at all acceptable. currently i am using following code.. CXTPTaskPanelGroup* pGroup3DText = m_wndTaskPanel.AddGroup(IDS_WC_PP_GROUP_MARGINS); pGroup3DText->AddTextItem("Left"); m_LeftMarginEdit.Initialize(this); m_LeftMarginEdit.SetParent(&m_wndTaskPanel); pGroup3DText->AddControlItem(m_LeftMarginEdit); m_LeftMarginSpin.SetParent(&m_wndTaskPanel); pGroup3DText->AddControlItem(m_LeftMarginSpin); |
|
|
Regards,
Jigar Mehta |
|
![]() |
|
Newm
Newbie
Joined: 13 March 2006 Location: United Kingdom Status: Offline Points: 4 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 March 2006 at 8:47am |
|
have you tried placing them in a container? i have had similar problems in vb before (although i haven’t tried it with the CXTPTaskPanel control) and putting the controls in a frame usually works out ok |
|
![]() |
|
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 |