Print Page | Close Window

MaskedEdit Problem

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=22617
Printed Date: 25 December 2024 at 10:44am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: MaskedEdit Problem
Posted By: Alex H.
Subject: MaskedEdit Problem
Date Posted: 03 June 2015 at 8:28am
Overtyping selected numers in a date leads to unexpected behaviour.
The numbers at the last positions should not be replaced by undercores.
Any Option to void this?
Please help!





Replies:
Posted By: olebed
Date Posted: 16 June 2015 at 5:55am
Hello Alex,

You can change this behaviour in CXTPMaskEditT::SetMaskedText() method.

Regards,
 Oleksandr Lebed


Posted By: Alex H.
Date Posted: 16 June 2015 at 9:11am
Thank you but
void SetMaskedText(LPCTSTR lpszMaskedTextint iPos = 0, BOOL bUpdateWindow = TRUE)

is not virtual, so i will have to patch my XTP soures, right?
Regards,

Alex


Posted By: olebed
Date Posted: 16 June 2015 at 9:22am
Yes, you are right.



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