<div dir="ltr"><div>Well... this is the example. It's just a little control for select in a list. The "Select" key is Return or Enter keys. After that I want the control to pass the focus to next control (Othercontrol in the example) without use Desktop.Sendkeys. If this isn't possible I will leave this like this. Is not essential for it.</div><div><br></div><div>Regards<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El sáb., 20 jul. 2019 a las 7:53, Fabien Bodard (<<a href="mailto:gambas.fr@gmail.com">gambas.fr@gmail.com</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><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" target="_blank">rwe-sse@osnanet.de</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF">
    <p>I do not precisely get what you mean, but... could
      Control.SetFocus be a solution?<br>
    </p>
    <br>
    <div class="gmail-m_621424234439597000m_-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="gmail-m_621424234439597000m_-5759513369809781917mimeAttachmentHeader"></fieldset>
      <br>
      <pre>----[ Gambas mailing-list is hosted by <a class="gmail-m_621424234439597000m_-5759513369809781917moz-txt-link-freetext" href="https://www.hostsharing.net" rel="noreferrer" target="_blank">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>
<br>
----[ Gambas mailing-list is hosted by <a href="https://www.hostsharing.net" rel="noreferrer" target="_blank">https://www.hostsharing.net</a> ]----<br>
</blockquote></div>