![]() |
CXTPPropertyGridItemNumber |
Post Reply ![]() |
Author | |
JDonovan ![]() Newbie ![]() Joined: 29 December 2003 Location: United States Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() Posted: 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 |
![]() ![]() ![]() ![]() ![]() |
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 |