Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - FlatEdit Pattern and SetMask
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

FlatEdit Pattern and SetMask

 Post Reply Post Reply
Author
Message
McKloony View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 January 2007
Location: Germany
Status: Offline
Points: 340
Post Options Post Options   Thanks (0) Thanks(0)   Quote McKloony Quote  Post ReplyReply Direct Link To This Post Topic: FlatEdit Pattern and SetMask
    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
Back to Top
McKloony View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 January 2007
Location: Germany
Status: Offline
Points: 340
Post Options Post Options   Thanks (0) Thanks(0)   Quote McKloony Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
ijwelch View Drop Down
Senior Member
Senior Member


Joined: 20 June 2006
Status: Offline
Points: 262
Post Options Post Options   Thanks (0) Thanks(0)   Quote ijwelch Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Jean View Drop Down
Senior Member
Senior Member
Avatar

Joined: 11 December 2006
Status: Offline
Points: 110
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jean Quote  Post ReplyReply Direct Link To This Post 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=
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.