Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Limit input range

Status
Not open for further replies.

Juice2k

Programmer
Feb 9, 2009
1
NO
Hello,

I have a keypad object for editing settings in a controller. The range in the controller is predefined in its control software. I want to be able to set my own range limits on the input from my GUI. Any ideas?

 
As long as the keypad object has it, you could set some bounds checking in the [blue]OnExit[/blue] procedure. If the entered value doesn't fall within the set limits, show them a message, and then set focus back to the object.

~
“Your request is not unlike your lower intestine: stinky, and loaded with danger.” — Ace Ventura.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top