Hi Joe,

Thanks - I'd not realised it was that simple!  Returning true for tab events
solved the problem for me, and stopped the window automatically handling tab
events.

Dave.

> From: Joe Huber <[EMAIL PROTECTED]>
> Date: Thu, 13 Apr 2006 06:44:41 -0700
> To: Dave Addey <[EMAIL PROTECTED]>
> Subject: Re: Avoiding Tab advancing focus to controls in a Window
> 
>> So, here's the question: is there a way to stop the controls getting the
>> focus automatically?
> 
> Are you returning true in the Window's Keydown event when it gets a
> Tab character to indicate that you've handled it?
> 
> Consider putting your drawing in one big canvas and returning true
> from the Canvas's Keydown event may be another solution.
> 
> Regards,
> Joe Huber


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to