<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi Fabien,<br>
      <br>
      Thanks for the tip, this works well.<br>
      <br>
      All the best,<br>
      <br>
      Charlie<br>
      <br>
      On 24/10/2019 18:14, Fabien Bodard wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAFkCsL5OBmo1nhuA+9jojZk_oDK0tFUrXHSyxvp3ZpR+y2WWbA@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">
          <div dir="ltr">
            <div dir="ltr"><br>
              Public Sub View_Select()<br>
                <br>
                Raise {Select}<br>
                <br>
              End<br>
              <br>
              Public Sub View_Click()<br>
                <br>
                Raise Click<br>
                <br>
              End<br>
              <br>
              Public Sub View_Activate()<br>
                <br>
                Raise Activate<br>
                <br>
              End<br>
              <br>
              Public Sub View_Menu()<br>
                <br>
                Raise Menu<br>
                <br>
              End</div>
            <div dir="ltr"><br>
            </div>
            <div>As you can see other events are not linked to the
              outside..</div>
            <div><br>
            </div>
            <div>A workaround will be able to get it by</div>
            <div>dim o as object<br>
            </div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div>For each o in FileView.Children</div>
            OBS = new Observer(o,true) as "OBS"
            <div>next</div>
            <br>
            <div>then you can use</div>
            <div><br>
            </div>
            <div>Public sub OBS_MouseDown.. etc</div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div><br>
            </div>
          </div>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">Le jeu. 24 oct. 2019 à 18:15,
          Gianluigi <<a href="mailto:bagonergi@gmail.com"
            moz-do-not-send="true">bagonergi@gmail.com</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 dir="ltr">Hi Charlie,<br>
            <br>
            I think thet FileChosser uses the mentioned events
            internally.<br>
            See if the attached project works.<br>
            <br>
            Regards<br>
            Gianluigi</div>
          <br>
          <div class="gmail_quote">
            <div dir="ltr" class="gmail_attr">Il giorno gio 24 ott 2019
              alle ore 17:32 Charlie Ogier <<a
                href="mailto:charlie@cogier.com" target="_blank"
                moz-do-not-send="true">charlie@cogier.com</a>> ha
              scritto:<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"> Hi,<br>
                <br>
                Is this just me but I can't get the following code to do
                anything: -<br>
                <br>
                <i><b>Public Sub FileChooser1_MouseUp()</b></i><i><b><br>
                  </b></i><i><b><br>
                  </b></i><i><b> Print "Up"</b></i><i><b><br>
                  </b></i><i><b><br>
                  </b></i><i><b>End</b></i><i><b><br>
                  </b></i><i><b><br>
                  </b></i><i><b>Public Sub FileChooser1_MouseDown()</b></i><i><b><br>
                  </b></i><i><b><br>
                  </b></i><i><b>  Print "Down"</b></i><i><b><br>
                  </b></i><i><b><br>
                  </b></i><i><b>End</b></i><i><b><br>
                  </b></i><i><b><br>
                  </b></i><i><b>Public Sub FileChooser1_DblClick()</b></i><i><b><br>
                  </b></i><i><b><br>
                  </b></i><i><b>  Print "Dbl Click"</b></i><i><b><br>
                  </b></i><i><b><br>
                  </b></i><i><b>End</b></i><br>
                <br>
                Thanks,<br>
                <br>
                Charlie<br>
                <br>
                <font size="-1">[System]<br>
                  Gambas=3.14<br>
                  OperatingSystem=Linux<br>
                  Kernel=4.15.0-66-generic<br>
                  Architecture=x86_64<br>
                  Distribution=Linux Mint 19.2 Tina<br>
                  Desktop=CINNAMON<br>
                  Theme=Qt5CTProxy<br>
                  Language=en_GB.UTF-8<br>
                  Memory=7848M<br>
                  <br>
                  [Libraries]<br>
                  Cairo=libcairo.so.2.11510.0<br>
                  Curl=libcurl.so.4.5.0<br>
                  DBus=libdbus-1.so.3.19.4<br>
                  GStreamer=libgstreamer-1.0.so.0.1405.0<br>
                  GTK+2=libgtk-x11-2.0.so.0.2400.32<br>
                  GTK+3=libgtk-3.so.0.2200.30<br>
                  OpenGL=libGL.so.1.0.0<br>
                  Poppler=libpoppler.so.73.0.0<br>
                  QT4=libQtCore.so.4.8.7<br>
                  QT5=libQt5Core.so.5.9.5<br>
                  SDL=libSDL-1.2.so.0.11.4<br>
                  SQLite=libsqlite3.so.0.8.6<br>
                  <br>
                  [Environment]<br>
                  CINNAMON_VERSION=4.2.4<br>
                  DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus<br>
                  DEFAULTS_PATH=/usr/share/gconf/cinnamon.default.path<br>
                  DERBY_HOME=/usr/lib/jvm/java-8-oracle/db<br>
                  DESKTOP_SESSION=cinnamon<br>
                  DISPLAY=:0<br>
                  GB_GUI=gb.qt5<br>
                  GDMSESSION=cinnamon<br>
                  GDM_LANG=en_GB<br>
                  GJS_DEBUG_OUTPUT=stderr<br>
                  GJS_DEBUG_TOPICS=JS ERROR;JS LOG<br>
                  GNOME_DESKTOP_SESSION_ID=this-is-deprecated<br>
                  GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1<br>
                  GTK_MODULES=gail:atk-bridge<br>
                  GTK_OVERLAY_SCROLLING=1<br>
                  HOME=<home><br>
                  J2REDIR=/usr/lib/jvm/java-8-oracle/jre<br>
                  J2SDKDIR=/usr/lib/jvm/java-8-oracle<br>
                  JAVA_HOME=/usr/lib/jvm/java-8-oracle<br>
                  LANG=en_GB.UTF-8<br>
                  LANGUAGE=en_GB.UTF-8<br>
                  LC_ADDRESS=en_GB.UTF-8<br>
                  LC_IDENTIFICATION=en_GB.UTF-8<br>
                  LC_MEASUREMENT=en_GB.UTF-8<br>
                  LC_MONETARY=en_GB.UTF-8<br>
                  LC_NAME=en_GB.UTF-8<br>
                  LC_NUMERIC=en_GB.UTF-8<br>
                  LC_PAPER=en_GB.UTF-8<br>
                  LC_TELEPHONE=en_GB.UTF-8<br>
                  LC_TIME=en_GB.UTF-8<br>
                  LOGNAME=<user><br>
MANDATORY_PATH=/usr/share/gconf/cinnamon.mandatory.path<br>
                  PAPERSIZE=a4<br>
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin<br>
                  PWD=<home><br>
                  QT_ACCESSIBILITY=1<br>
                  QT_QPA_PLATFORMTHEME=qt5ct<br>
SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/2172,unix/<hostname>:/tmp/.ICE-unix/2172<br>
                  SHELL=/bin/bash<br>
                  SHLVL=0<br>
                  SSH_AGENT_PID=2239<br>
                  SSH_AUTH_SOCK=/run/user/1000/keyring/ssh<br>
                  S_COLORS=auto<br>
                  TZ=:/etc/localtime<br>
                  USER=<user><br>
                  XAUTHORITY=<home>/.Xauthority<br>
                  XDG_CONFIG_DIRS=/etc/xdg/xdg-cinnamon:/etc/xdg<br>
                  XDG_CURRENT_DESKTOP=X-Cinnamon<br>
XDG_DATA_DIRS=/usr/share/cinnamon:/usr/share/gnome:<home>/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share:/var/lib/snapd/desktop<br>
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/<user><br>
                  XDG_RUNTIME_DIR=/run/user/1000<br>
                  XDG_SEAT=seat0<br>
                  XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0<br>
                  XDG_SESSION_DESKTOP=cinnamon<br>
                  XDG_SESSION_ID=c1<br>
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0<br>
                  XDG_SESSION_TYPE=x11<br>
                  XDG_VTNR=7</font><br>
              </div>
              <br>
              ----[ Gambas mailing-list is hosted by <a
                href="https://www.hostsharing.net" rel="noreferrer"
                target="_blank" moz-do-not-send="true">https://www.hostsharing.net</a>
              ]----<br>
            </blockquote>
          </div>
          <br>
          ----[ Gambas mailing-list is hosted by <a
            href="https://www.hostsharing.net" rel="noreferrer"
            target="_blank" moz-do-not-send="true">https://www.hostsharing.net</a>
          ]----<br>
        </blockquote>
      </div>
      <br clear="all">
      <br>
      -- <br>
      <div dir="ltr" class="gmail_signature">Fabien Bodard </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">
----[ Gambas mailing-list is hosted by <a class="moz-txt-link-freetext" href="https://www.hostsharing.net">https://www.hostsharing.net</a> ]----
</pre>
    </blockquote>
    <br>
  </body>
</html>