Print Page | Close Window

Bug in Pattern Property?

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=10769
Printed Date: 12 December 2024 at 8:28am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Bug in Pattern Property?
Posted By: McKloony
Subject: Bug in Pattern Property?
Date 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



Replies:
Posted By: Oleg
Date 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


Posted By: McKloony
Date 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


Posted By: Oleg
Date Posted: 26 May 2008 at 9:54am
Hi,
 
[0-9\(\)/\-]*


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



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