FlatEdit Pattern and SetMask |
Post Reply |
Author | |
McKloony
Senior Member Joined: 09 January 2007 Location: Germany Status: Offline Points: 340 |
Post Options
Thanks(0)
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 |
|
McKloony
Senior Member Joined: 09 January 2007 Location: Germany Status: Offline Points: 340 |
Post Options
Thanks(0)
|
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 |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Think we will add some new property. I don't see how you can implement it with Mask. :-(
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
ijwelch
Senior Member Joined: 20 June 2006 Status: Offline Points: 262 |
Post Options
Thanks(0)
|
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 |
|
Jean
Senior Member Joined: 11 December 2006 Status: Offline Points: 110 |
Post Options
Thanks(0)
|
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= |
|
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 |