Re: Widget Focus [message #83733 is a reply to message #81921] |
Tue, 26 March 2013 02:08  |
Helder Marchetto
Messages: 520 Registered: November 2011
|
Senior Member |
|
|
On Friday, November 9, 2012 6:02:40 PM UTC+1, Helder wrote:
> Hi David,
>
>
>
>> In general, IDL is pretty poor about giving you this kind
>
>> of control over widgets. However, there is one thing you
>
>> might try. Try setting /SHOW on the TLB containing the
>
>> list widget, then try to focus to the list widget.
>
>
>
> What do you mean by setting the focus on the list widget? Do you mean something like:
>
> WIDGET_CONTROL, TLB, /show
>
> WIDGET_CONTROL, MyWidgetList, /show
>
> Well this didn't work...
>
>
>
>> I'm not expecting a lot of success. :-)
>
>
>
> Yeah, I already got that awkward feeling...
>
>
>
> Thanks.
>
>
>
> Cheers,
>
> Helder
Hi,
just to inform you. I've been shown that it is possible to set the keyboard focus to a widget_list widget by using the /input_focus keyword in widget_control. I'm not sure that this would work on any platform, but it does under windows (7, 64 bit).
The input_focus keyword is specified for buttons, draw and text widgets. However, the help also says: "While this keyword will set the focus to widgets of other types, the exact location of the focus is not well defined."
Just in case anybody is interested (except me...).
Cheers,
Helder
|
|
|