![]() |
CXTPPropertyGridItemNumber |
Post Reply
|
| Author | |
JDonovan
Newbie
Joined: 29 December 2003 Location: United States Status: Offline Points: 3 |
Post Options
Thanks(0)
Quote Reply
Topic: CXTPPropertyGridItemNumberPosted: 08 January 2004 at 1:34pm |
|
Is there any easy method to disable non-numeric entry within a CXTPPropertyGridItemNumber, it would seem a natural.
Thanks,
- Jeff
|
|
![]() |
|
Kevin6
Groupie
Joined: 13 May 2005 Location: United Kingdom Status: Offline Points: 30 |
Post Options
Thanks(0)
Quote Reply
Posted: 24 August 2005 at 8:33am |
|
Jeff, you can disable input by using something like the following -: CString strNoOfItemsOnDB("Number of Items on Database"); CXTPPropertyGridItemNumber *ptheItemsOnTheDatabase =new CXTPPropertyGridItemNumber(strNoOfItemsOnDB, 0); if (ptheItemsOnTheDatabase) { ptheItemsOnTheDatabase->SetReadOnly(TRUE); } HTH Rich
|
|
|
Kevin.
|
|
![]() |
|
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 |