![]() |
FlatEdit: limited input between range of numbers |
Post Reply ![]() |
Author | |
g.novi ![]() Groupie ![]() Joined: 27 October 2009 Location: Italy Status: Offline Points: 38 |
![]() ![]() ![]() ![]() ![]() Posted: 14 July 2011 at 1:41pm |
Hi to all, there's a way in the Pattern property (FlatEdit object) for limited input between range of numbers? Ex: Input only numbers between 1 to 5. Regards |
|
![]() |
|
mgampi ![]() Senior Member ![]() ![]() Joined: 14 July 2003 Status: Offline Points: 1201 |
![]() ![]() ![]() ![]() ![]() |
Hi;
I always solve this with standard edit control and regex pattern matching. Another way - use a spin button control. |
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
![]() |
|
g.novi ![]() Groupie ![]() Joined: 27 October 2009 Location: Italy Status: Offline Points: 38 |
![]() ![]() ![]() ![]() ![]() |
I apologize, but I did not understand. Thanks anyway.
|
|
![]() |
|
Willowmaster ![]() Senior Member ![]() ![]() Joined: 12 July 2010 Location: Netherlands Status: Offline Points: 180 |
![]() ![]() ![]() ![]() ![]() |
This webiste http://www.regular-expressions.info/ contains information on regular expressions.
If you add the reference Microsoft VBScript Regular Expressions X.X to your project you can use regular expressions in VB6.
|
|
Product: Xtreme SuitePro (ActiveX) version 15.3.1
Platform: Windows XP (32bit) - SP 3 (on VMWare) Language: Visual Basic 6.0 |
|
![]() |
|
g.novi ![]() Groupie ![]() Joined: 27 October 2009 Location: Italy Status: Offline Points: 38 |
![]() ![]() ![]() ![]() ![]() |
Thanks to all
|
|
![]() |
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 |