Click here to Skip to main content
15,914,795 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear All
Recently I am working on a project in which I need a Text Box with
ability of showing permanent minimum and maximum value of the inserted
quantity on it in the form of Hint box or Call-Out Box. Is there any methods or object to use?
Thank you...
Posted
Updated 5-Aug-12 1:28am
v2
Comments
Kenneth Haugland 5-Aug-12 7:02am    
Can we see some code please?
A.Najafi 5-Aug-12 7:24am    
it is only a text box. thank you...
Sandeep Mewara 5-Aug-12 7:18am    
winforms or web?
A.Najafi 5-Aug-12 7:24am    
winforms, thank you.

1 solution

THere are lots of ways witch you can Implement this, the obvious one is perhaps a label over the textbox, or a tooltip in the textbox, or even a messeagebox if the values are not accepted.
 
Share this answer
 
Comments
A.Najafi 5-Aug-12 7:37am    
Dear Mr.Kenneth Haugland
Using tool tip in text box is of my interest. but there is not this property
for text box... is there any way to choose it?
Dave Kreskowiak 5-Aug-12 10:49am    
You have to drop a Tooltip control on the form before the option will show up in the TextBox properties.
Kenneth Haugland 5-Aug-12 13:20pm    
From OP:
thank you, Mr.Dave Kreskowiak.

[Edit]Though you'd like to know :)[/Edit]
A.Najafi 5-Aug-12 13:16pm    
thank you, Mr.Dave Kreskowiak.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900