On 6/4/00 7:54 am, Richard Gaskin <[EMAIL PROTECTED]> wrote:

>> My recommendation would be just be to un-document this particular
>> feature of QT, at least until we come up with some sensible way to
>> assign keyboard focus to players (and provide some indication to the
>> user that this has occured).  Suggestions for how to do this
>> welcome...
> 
> Unfortunately this standard QT behavior is too well known among our
> audience. ;)
> 
> I must admit being equally stumped about having a suggestion right offhand,
> but I can at least describe what I need at the moment as perhaps a starting
> point:
> 
> It would be ideal in my current app to be able to tell the current card or
> stack in which the QT is playing that the player will always get keyboard
> focus unless a text field is active.
> 
> I suppose one could accomplish this by turning off traversal for all objects
> but fields, and then maybe have a property of the card called something like
> "focusPlayer" or "mainPlayer" or some such which indicates the player object
> to rec. any keyboard input not going to a field.
> 
> What would that break?

Is there any reason that a player object can't have a traversalOn property
like other controls?  This would work like fields do on the Mac, click or
tab in and focus the object.  Of course, you wouldn't see anything around
the player, but you could tell if the player was focused by script, or focus
it by script, and it would get messages as it should when focused.

Regards,

Kevin

> -- 
> Richard Gaskin 
> Fourth World
> Multimedia Design and Development for Mac, Windows, UNIX, and the Web
> _____________________________________________________________________
> [EMAIL PROTECTED]                 http://www.FourthWorld.com
> Tel: 323-225-3717           ICQ#60248349            Fax: 323-225-0716

Kevin Miller <[EMAIL PROTECTED]> <http://www.xworlds.com/>
Cross Worlds Computing, MetaCard Distributors, Custom Development.
Tel: +44 (0)131 672 2909.  Fax: +44 (0)1639 830 707.


Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to