comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: checking whether text widget has keyboard focus
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: checking whether text widget has keyboard focus [message #41551] Thu, 18 November 2004 04:58
Benjamin Hornberger is currently offline  Benjamin Hornberger
Messages: 258
Registered: March 2004
Senior Member
David Fanning wrote:
> Benjamin Hornberger writes:
>
>
>> is there a way to determine directly whether a text widget has the
>> keyboard focus currently? Or do I have to keep track of keyboard focus
>> events? If that's the case, David, I'll have to make another change to
>> fsc_field ;-).
>
>
> Sigh... :-)
>
> Try the KBRD_FOCUS_EVENTS keyword to Widget_Info.

No, that tells me only if keyboard focus events are *enabled* for the
widget...

Benjamin
Re: checking whether text widget has keyboard focus [message #41554 is a reply to message #41551] Wed, 17 November 2004 22:06 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Benjamin Hornberger writes:

> is there a way to determine directly whether a text widget has the
> keyboard focus currently? Or do I have to keep track of keyboard focus
> events? If that's the case, David, I'll have to make another change to
> fsc_field ;-).

Sigh... :-)

Try the KBRD_FOCUS_EVENTS keyword to Widget_Info. In general,
if you want to know something about the state of a particular
widget, Widget_Info is used to access it.

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http:/www.dfanning.com/
Phone: 970-221-0438, IDL Book Orders: 1-888-461-0155
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: TV : maximum width limit varies by platform
Next Topic: Re: How to communicate between an IDL program and an Exe?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:46:50 PDT 2025

Total time taken to generate the page: 0.00547 seconds