Print Page | Close Window

CXTPControlEdit in the ribbon - limit edit digits

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=23772
Printed Date: 12 December 2024 at 8:23am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPControlEdit in the ribbon - limit edit digits
Posted By: Alex H.
Subject: CXTPControlEdit in the ribbon - limit edit digits
Date Posted: 28 November 2018 at 10:27am
I would like to limit the possibilities if the user.
The user should only be able to enter digits.

CXTPControlEdit
* pControlEdit = (CXTPControlEdit*)pGroup->Add(xtpControlEditID_MY_CONTROL); pControlEdit->SetEditStyle(ES_NUMBER);


SetEditStyle does not work.

Any ideas to solve this problem?


Thanks

Alex



Replies:
Posted By: Alex H.
Date Posted: 29 November 2018 at 6:19am
Will subclassing solve it? Any Idea or Sample Codejock?




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net