At 01:58 2003-11-26, Ross Clunie wrote:
I would like to be able to use the ENTER key as an event trigger for a
textfeild. I have the _LostFocus event set and this works when the tab key
is used but I would like ENTER key to emulate this function. Is it poosible.

Fake it by adding a button that is -ok and/or -default (I think -ok is an option proper). Turn off the -tabstop and put the button outside the window (e.g. at 100000, 100000).

The button's _Click event will be triggered when you press Enter in the Textfield.


/J

-------- ------ ---- --- -- --  --  -    -     -      -         -
Johan Lindström    Sourcerer @ Boss Casinos     [EMAIL PROTECTED]

Latest bookmark: "Oracle9i Database Concepts -- Contents"
<http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96524/toc.htm>
dmoz (1 of 7): /Computers/Internet/E-mail/Free/ 9


Reply via email to