Mask Control


Author
Message
Ger Cannoll
Ger Cannoll
Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)
Group: StrataFrame Users
Posts: 430, Visits: 507
I've searched around here and on the Net to locate a control which will allow numbers to be entered, but there does not seem to be an obvious control. The MasktextBox is suggested but at the same time there seems to be lots of limitations.

I want to enter just a number e.g.

145.67   or    20   or    .5    or    6003.45   or    -70.54    etc

Is there a control that will do this. In VFP. this is a nobrainer....as long as the Control Source is a numeric field,nothing else has to be done.

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
There are several controls that you can use.  You can use the masked textbox or a Numeric Up/Down control.  The masking in .NET is weak to some degree and 3rd party controls can help in this one area quite a bit.  If in the budget Infragistics has some great Currency and Numeric masming controls that work very well.  As you know, the SF Masked TextBox inherits from the .NET control.  So though you can do exactly what you are trying to do, if your needs are not met then some options are looking at a 3rd party control for more complex maskings.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search