Dynamically Show/Hide Spin Buttons in XTP 10.4 |
Post Reply |
Author | |
Serega
Newbie Joined: 03 November 2006 Location: Russian Federation Status: Offline Points: 6 |
Post Options
Thanks(0)
Posted: 15 January 2007 at 8:01am |
Hi! How dynamically show or hide edit control's spin buttons? When i call ShowSpinButtons(), size of CXTPControlEditCtrl is no changed! Thanks!
|
|
dandan
Newbie Joined: 05 January 2007 Location: Austria Status: Offline Points: 9 |
Post Options
Thanks(0)
|
the spinbuttons are - easy speaking: "within" the edit box. - so no size has to be changed.
you can enable/disable the spinbuttons with
pControl ->ShowSpinButtons(TRUE); or pControl->ShowSpinButtons(TRUE); or change the whole width of the edit box with pControl->SetWidth(120); |
|
Serega
Newbie Joined: 03 November 2006 Location: Russian Federation Status: Offline Points: 6 |
Post Options
Thanks(0)
|
dandan, thanks for reply! You absolutely right, but my task in other. Size of pControl (CXTPControlEdit) must be constant. When i calling ShowSpinButtons(FALSE), spin buttons is Hide, but edit area (presenting by CXTPControlEditCtrl) don't change size. Therefore edit area fill edit control not fully. Thanks once again.
|
|
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 |