Print Page | Close Window

FlatEdit Pattern and SetMask

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=10661
Printed Date: 28 April 2024 at 7:25am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: FlatEdit Pattern and SetMask
Posted By: McKloony
Subject: FlatEdit Pattern and SetMask
Date Posted: 17 May 2008 at 6:02am
For a Flat Edit i set a Mask like "00.00.0000", "__.__.____" to make a input for a gerrman date like 17.05.2008. Is it possible to set a additive pattern, because a mask diesn't prevent for a case, where a user types in only 08 for the year.


-------------
Product: Xtreme SuitePro (ActiveX) 16.2.5

Platform: XP / Windows 7

Language: Visual Basic 6.0 SP6



Replies:
Posted By: McKloony
Date Posted: 18 May 2008 at 4:05am

I try to solve this problem with .Pattern = "[^_]" becaus the "_" character ist the placeholder of the Mask. But it doesn't work. Does anybody hase an solution?



-------------
Product: Xtreme SuitePro (ActiveX) 16.2.5

Platform: XP / Windows 7

Language: Visual Basic 6.0 SP6


Posted By: Oleg
Date Posted: 18 May 2008 at 1:08pm

Think we will add some new property. I don't see how you can implement it with Mask.

:-(


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: ijwelch
Date Posted: 18 May 2008 at 8:46pm
Hi Oleg,

If you're giving this some thought then please also consider some method to stop illegal characters being entered or pasted (rather than allowing but showing the red underline).

I want a NumberEdit box like the old ComponentOne TrueDBNumber control. This has number formatting, decimal places, min, max, spin buttons which behave intelligently, and doesn't allow any invalid characters to be entered.

Also needed is a TimeEdit control.

I'm sure adding these to your controls will be useful to just about everybody.

Cheers

Ian


Posted By: Jean
Date Posted: 29 May 2008 at 7:34am
Yes, something like the TrueDbNumber Control would be nice!

My thread to a similar problem:
http://forum.codejock.com/forum_posts.asp?TID=10013&KW=



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