Re: TZF - not only a Topaz Problem
i-cable <[email protected]> Fri, 8 Aug 2003 17:11:21 +1000
| Newsgroups | gmane.comp.lang.delphi.topaz |
|---|---|
| Message-ID | <[email protected]> |
Hi Pierre: You need to kill the KEY otherwise the key code will still be passed to the maskedit-component. You can do KEY:=chr(0); Hope this can help Abi > Hello > > Nice hot time to work at a computer. I do it, because I want to solve a > problem till to the end of my holydays: > > I have a maskedit-component on the form with a mask, maybe 0.00. > > I want to have the possibility to escape the maskedit component by using an > onkeypress event I ask the key > if key=CHR(27) then ...... > but when I escape with a wrong input in the maskedit-component, I get a > EDBEditError. > But where/how can I catch the Error with a try ... except solution > > Or generally how can I prevent to exit a component with another button , > when it has not a correct input > > Can you help me > > Pierre Wittwer > Stansstad > Switzerland > > > > > > --^---------------------------------------------------------------- This email was sent to: [email protected] EASY UNSUBSCRIBE click here: http://topica.com/u/?clvXPN.a5kvff.Z2NsZHQt Or send an email to: [email protected] TOPICA - Start your own email discussion group. FREE! http://www.topica.com/partner/tag02/create/index2.html --^----------------------------------------------------------------