<div dir="auto"><div>I think it will be more easy to  help you if you send a little example. <br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le ven. 19 juil. 2019 23:07, Rolf-Werner Eilert <<a href="mailto:rwe-sse@osnanet.de">rwe-sse@osnanet.de</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <p>I do not precisely get what you mean, but... could
      Control.SetFocus be a solution?<br>
    </p>
    <br>
    <div class="m_-5759513369809781917moz-cite-prefix">Am 19.07.2019 um 19:07 schrieb Jorge
      Carrión:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">
        <div>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.</div>
        <div>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.)</div>
        <div><br>
        </div>
        <div>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.</div>
        <div><br>
        </div>
        <div>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.</div>
        <div><br>
        </div>
        <div>Any clue?</div>
        <div><br>
        </div>
        <div>Best regards<br>
        </div>
      </div>
      <br>
      <fieldset class="m_-5759513369809781917mimeAttachmentHeader"></fieldset>
      <br>
      <pre>----[ Gambas mailing-list is hosted by <a class="m_-5759513369809781917moz-txt-link-freetext" href="https://www.hostsharing.net" target="_blank" rel="noreferrer">https://www.hostsharing.net</a> ]----
</pre>
    </blockquote>
    <br>
  </div>

<br>
----[ Gambas mailing-list is hosted by <a href="https://www.hostsharing.net" rel="noreferrer noreferrer" target="_blank">https://www.hostsharing.net</a> ]----<br>
</blockquote></div></div></div>