Rob wrote:
> Thanks,
> I wasn't aware of the space bar standard, I'll use that.
>
You don't really need to "use" that as it is a standard in the UI
definitions on all three platforms and you get it for free. If the user
is using the keyboard to move around your interface, when they tab to a
checkbox or radiobutton, the spacebar activates the control with no
additional code required.
> So you are not seeing 2 message boxes when if key = chr(13) and msgbox
> "return" are placed in the keydown event?
>
Not if you "Return True" after your code in the KeyDown event.
Tim
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|