http://gambaswiki.org/bugtracker/edit?object=BUG.1099&from=L21haW4-
Jorge CARRIÓN reported a new bug. Summary ------- sliderbox sill respond to mouse wheel when its disabled Type : Bug Priority : Low Gambas version : 3.9 Product : GUI components Description ----------- A sliderbox with Enabled property to False still respond to mouse wheel. I've write a little class as a to workaround with this code: Export Inherits SliderBox Public Const _Similar As String = "SpinBox,SliderBox" Public Const _drawWith As String = "SliderBox" Private obs As Observer Public Sub _new() obs = New Observer(Me.Children[1]) As "Spin" End Public Sub spin_mousewheel() If Me.enabled = False Then Stop Event End But I think that it will be better fix the bug. Best regards. System information ------------------ [System] Gambas=3.9.2 OperatingSystem=Linux Kernel=4.4.0-66-generic Architecture=x86_64 Distribution=Linux Mint 18.1 Serena Desktop=CINNAMON Theme=Gtk Language=es_ES.UTF-8 Memory=15989M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.803.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.0.0 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] CINNAMON_VERSION=3.2.7 DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-psHVzH2ma2,guid=6d3df68afca2eeb1d081d14559016ac1 DEFAULTS_PATH=/usr/share/gconf/cinnamon.default.path DERBY_HOME=/usr/lib/jvm/java-8-oracle/db DESKTOP_SESSION=cinnamon DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=cinnamon GDM_XSERVER_LOCATION=local GIO_LAUNCHED_DESKTOP_FILE=<home>/.cinnamon/panel-launchers/cinnamon-custom-launcher-1.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=6997 GJS_DEBUG_OUTPUT=stderr GJS_DEBUG_TOPICS=JS ERROR;JS LOG GNOME_DESKTOP_SESSION_ID=this-is-deprecated GTK_MODULES=gail:atk-bridge GTK_OVERLAY_SCROLLING=1 HOME=<home> J2REDIR=/usr/lib/jvm/java-8-oracle/jre J2SDKDIR=/usr/lib/jvm/java-8-oracle JAVA_HOME=/usr/lib/jvm/java-8-oracle LANG=es_ES.UTF-8 LOGNAME=<user> MANDATORY_PATH=/usr/share/gconf/cinnamon.mandatory.path MDMSESSION=cinnamon MDM_LANG=es_ES.UTF-8 MDM_XSERVER_LOCATION=local PATH=<home>/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin PWD=<home> QT_ACCESSIBILITY=1 QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_QPA_PLATFORMTHEME=qgnomeplatform QT_STYLE_OVERRIDE=gtk SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/1850,unix/<hostname>:/tmp/.ICE-unix/1850 SHELL=/bin/bash SHLVL=1 SSH_AGENT_PID=2886 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TZ=:/etc/localtime USER=<user> USERNAME=<user> WINDOWPATH=7 XAUTHORITY=<home>/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-cinnamon:/etc/xdg XDG_CURRENT_DESKTOP=X-Cinnamon XDG_DATA_DIRS=/usr/share/cinnamon:/usr/share/gnome:/usr/local/share/:/usr/share/:/usr/share/mdm/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SESSION_COOKIE=2a5d5f96ef9147c0b35535562b32d0ff-1493265085.749055-1190069521 XDG_SESSION_DESKTOP=cinnamon XDG_SESSION_ID=c1 XDG_VTNR=7 _=/usr/bin/gambas3 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user