Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - Bug in Pattern Property?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Bug in Pattern Property?

 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: Bug in Pattern Property?
    Posted: 25 May 2008 at 7:08am
I try to set a pattern for a flatedit that allwos only digits from 0-9 an the characters "("  ")"  "+"  "-"  "/"  and  Space$(1) " "
 
In the onlinehelp you can read, that "\d*" is Equivalent to [0-9]. This is not correct. The pattern "[0-9]" doesn't work in my sample.
 
The Pattern "0|1|2|3|4|5|6|7|8|9|(|)|+|/|-" only works, if i type in olny one character. So how can i set the correct pattern?
 
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: 26 May 2008 at 1:13am
Hi,
 
Pattern doesn't prevent you add characters - it allows add wave if string not mach pattern.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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: 26 May 2008 at 1:51am
OK, so how can i set a pattern, that matches the following characters: 0-9 and ( ) / -
 
 
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: 26 May 2008 at 9:54am
Hi,
 
[0-9\(\)/\-]*
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.156 seconds.