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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

EConvertError with spin control

Status
Not open for further replies.

Eno25

Programmer
Nov 10, 2004
9
0
0
GB
Hi there -
Where can I catch an EConvertError that is thrown when a spin control with a 'blank' value loses focus? I've tried to trap it in an OnExit event but it doesn't seem to work.

Any help appreciated.

KB
 
Is it a TSpinEdit, a TSpinButton, a TUpDown or some other spin control?

Clive [infinity]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"To err is human, but to really foul things up you need a computer."
Paul Ehrlich
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To get the best answers from this forum see: faq102-5096
 
Have a look at
thread102-251370


Steve:
A Delphi Programmer
 
It might be worth using a TUpDown instead, but even that component isn't ideal - see the following thread for more info: thread102-1009192.

Clive [infinity]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"To err is human, but to really foul things up you need a computer."
Paul Ehrlich
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To get the best answers from this forum see: faq102-5096
 
Yep, thanks guys... it was a TSpinEdit and just generally a bit nasty. I've made my own!

Thanks for your assistance!

KB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top