Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - FlatEdit: limited input between range of numbers
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

FlatEdit: limited input between range of numbers

 Post Reply Post Reply
Author
Message
g.novi View Drop Down
Groupie
Groupie


Joined: 27 October 2009
Location: Italy
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote g.novi Quote  Post ReplyReply Direct Link To This Post Topic: FlatEdit: limited input between range of numbers
    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
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1198
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Posted: 15 July 2011 at 3:11am
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 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017
Back to Top
g.novi View Drop Down
Groupie
Groupie


Joined: 27 October 2009
Location: Italy
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote g.novi Quote  Post ReplyReply Direct Link To This Post Posted: 15 July 2011 at 3:50am
Originally posted by mgampi mgampi wrote:

Hi;
I always solve this with standard edit control and regex pattern matching.

I apologize, but I did not understand.
Thanks anyway.
Back to Top
Willowmaster View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 July 2010
Location: Netherlands
Status: Offline
Points: 180
Post Options Post Options   Thanks (0) Thanks(0)   Quote Willowmaster Quote  Post ReplyReply Direct Link To This Post Posted: 15 July 2011 at 4:10am
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



Back to Top
g.novi View Drop Down
Groupie
Groupie


Joined: 27 October 2009
Location: Italy
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote g.novi Quote  Post ReplyReply Direct Link To This Post Posted: 15 July 2011 at 4:57am
Originally posted by Willowmaster Willowmaster wrote:

This webiste http://www.regular-expressions.info/ contains information on regular expressions...

Thanks to all
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.