Solved

Setting Max,Min Property for a dynamic control

Posted on 2003-11-12
6
305 Views
Last Modified: 2010-04-17
Hi

I am using Create function of the CEdit control to dynamically create some text boxes. Now I want to set a minimum and maximum value for the number entered in these controls. How can I do that

gp
0
Comment
Question by:Gopakumar
6 Comments
 
LVL 12

Expert Comment

by:roverm
ID: 9731592
Hi gp,

What language are you using? I don't know this CEdit control. Is it a custom control?

D'Mzz!
RoverM
0
 

Author Comment

by:Gopakumar
ID: 9737254
vc++ Text control
0
 
LVL 9

Accepted Solution

by:
bhagyesht earned 100 total points
ID: 9738812
trap the EN_KILLFOCUS message and do your validation there.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

680 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question