Expected behavior.. or at least it should be. A "click" shouldn't
automatically claim focus as that would be sometimes not the desired
behavior, and there would be no way around it if it were the default.
You could make a subclass that had a property called clickToFocus As
Boolean and you could manage that yourself if you thought it was easier?
- Ryan Dary
Arnaud Nicolet wrote:
On 22 févr. 06, at 01:38, Charles Yeomans wrote:
On Feb 21, 2006, at 7:09 PM, Jerry Robinson wrote:
Is there something weird about getting a canvas to accept focus? I
have a canvas with AcceptFocus and UseFocusRing set to TRUE. I click
on the canvas, no focus ring. I stuck a 'beep' in the GotFocus event.
No beep. Can anybody help?
Call SetFocus in the MouseDown event handler. Clicking on a Canvas
does nothing by default.
I always wondered if that is a bug or an expected behaviour.
_______________________________________________
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>
_______________________________________________
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>