[Gambas-user] Passing focus by code

Gianluigi bagonergi at gmail.com
Fri Jul 19 20:49:34 CEST 2019

They all use Desktop.SendKey, sorry :-(

Il giorno ven 19 lug 2019 alle ore 20:44 Gianluigi <bagonergi at gmail.com> ha

> Hi Jorge,
> He does not talk about your problem [0] but, perhaps, he could inspire you.
> Even if I doubt it :-(
> Regards
> Gianluigi
> [0]
> http://www.gambas-it.org/wiki/index.php?title=Utilizzare_il_tasto_Tab_della_tastiera_per_spostare_il_cursore_del_mouse_fra_le_celle_di_una_TableView
> Il giorno ven 19 lug 2019 alle ore 19:08 Jorge Carrión <shordi at gmail.com>
> ha scritto:
>> Well I've done a little control who has a form with a TextBox and a
>> GridView inside. When type on Enter ot Tab keys I want pass the focus to
>> next control in the custom container who can take it.
>> I can't find a way to do this who works on all situations (my control
>> inside a container who is inside another container who is inside in a form
>> who is inside a tabstrip, etc. etc.)
>> The me.next or me.previous reference doesn't work: They can be a HBox,
>> for example who takes the focus and user is lost.
>> What I pretend is to emulate the Tab key behaviour... without use the
>> Desktop.sendkey. I don't want link desktop component to my custom control
>> only for that.
>> Any clue?
>> Best regards
>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20190719/ffe394a4/attachment-0001.html>

More information about the User mailing list