473,385 Members | 1,343 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

MaskedTextEdit Limitation?

Hi,

I'd like to have a masked text edit box that'll allow for versions strings
like:

1.0.0.0
or
1.0.0.100

meaning, any element of the version can be either 1 digit, or three.

if I set my mask to "000.000.000.000" - I'm forcing the user to input three
digits, if I enter "0.0.0.0", they can't enter two or three.

Ideas?

Thanks,
Ron
Oct 16 '06 #1
3 1176
do what microsoft did perhaps... i think they did this on their serial#
enter part on win 95.

on keydown search for the period, and in that case move to the next text box

have each section its own text box...
textbox only allows numbers and periods and is max length of 3
a backspace will bring you back to the other, a period ( key down ) will
bring you to the next ?

M.

"Ron M. Newman" <co**********@confideltial.comwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
Hi,

I'd like to have a masked text edit box that'll allow for versions strings
like:

1.0.0.0
or
1.0.0.100

meaning, any element of the version can be either 1 digit, or three.

if I set my mask to "000.000.000.000" - I'm forcing the user to input
three digits, if I enter "0.0.0.0", they can't enter two or three.

Ideas?

Thanks,
Ron

Oct 16 '06 #2
Ron M. Newman wrote:
Hi,

I'd like to have a masked text edit box that'll allow for versions strings
like:

1.0.0.0
or
1.0.0.100

meaning, any element of the version can be either 1 digit, or three.

if I set my mask to "000.000.000.000" - I'm forcing the user to input three
digits, if I enter "0.0.0.0", they can't enter two or three.

Ideas?

Thanks,
Ron

You could buy the edit control from Farpoint

Jack Russell
Oct 16 '06 #3
Ron,

Use 9 in your Mask property, not 0's. 0's are mandatory while 9's are
optional.
--
Dave B.
"Ron M. Newman" wrote:
Hi,

I'd like to have a masked text edit box that'll allow for versions strings
like:

1.0.0.0
or
1.0.0.100

meaning, any element of the version can be either 1 digit, or three.

if I set my mask to "000.000.000.000" - I'm forcing the user to input three
digits, if I enter "0.0.0.0", they can't enter two or three.

Ideas?

Thanks,
Ron
Oct 25 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: terpatwork | last post by:
Hi, (1) I have an access form that allows users to enter data, and when they click a button, the OnClick code that I've written uses a SQL INSERT statement to insert the data into the database. I...
3
by: Seong-Kook Shin | last post by:
C FAQ Q 13.2 says that sprintf() is guaranteed to work only for n <= 509: sprintf(dest, "%.*s", n, source); Does 509 appear in any C standard? If not, where it came from? I looked over C99...
2
by: Joseph Geretz | last post by:
I'm developing a Web Service using DIME to download and upload files from and to an IIS server. In order to increase the download filesize to unlimited, I have the following block in my App.config...
3
by: SDRoy | last post by:
Hi Is there a limitation on how many rows can be fetched using a SqlDataReader in ASP.Net 2.0 ? -- Thanks, SDRoy
4
by: Ole Nielsby | last post by:
Here comes a generic class with a static property. Let's say they are exotic singleton pets. abstract class Pet {...} abstract class SharedPet<T>: Pet where T: SharedPet<T>, new() {...
6
by: AB | last post by:
Hello all, I heard once that there is a limitation on the number of lines of code that a program can have when using C, but not for C++. Is this true? Any ideas?
1
by: =?Utf-8?B?UmFzaGVlZA==?= | last post by:
We have distributed application built upon .NET 2.0. The business components are exposed as Web Services. Some of the Business Components involves in heavy processing and occupies more RAM. It...
2
by: fdcm | last post by:
Hi, I am new to Access 2003 on XP. I am creating a database from a current report that has exceeded Excel 2003's row limitation. My concern is running into an Access limitation after creating the...
4
by: leegold58 | last post by:
Hi, Is there a "way around" the size limitation for Access? I'm thinking of something like spanning a huge table accross multiple databases... Something simple and that would preserve the...
5
by: =?Utf-8?B?QmlsbHkgWmhhbmc=?= | last post by:
Hi All, I am using asp.net session state service to store session. The concurrent online user will be almost 2000. Could asp.net session state service afford this? Is there any limitation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.