[Gambas-user] SpinBox running wild

Charlie Reinl Karl.Reinl at Fen-Net.de
Sat Aug 1 17:07:48 CEST 2020


Salut,

This demo asks if the VAT rate should be adjusted if one of the lower
date limits is exceeded.
If the years are adjusted with the spinbox, it will continue to run by
itself after the MsgBox.

Here the changing Dates
  ' +-------+---------------------+------+
  ' | keyID | valid_from          | vat  |
  ' +-------+---------------------+------+
  ' |     2 | 1968-01-01 00:00:00 |   10 |
  ' |     2 | 1998-04-01 00:00:00 |   16 |
  ' |     2 | 2007-01-01 00:00:00 |   19 |
  ' |     2 | 2020-07-01 00:00:00 |   16 |
  ' |     2 | 2021-01-01 00:00:00 |   19 |
  ' +-------+---------------------+------+
-- 
Amicalement
Charlie

[System]
Gambas=3.15.90 323100a39 (master)
OperatingSystem=Linux
Kernel=5.4.0-42-generic
Architecture=x86_64
Distribution=Ubuntu 18.04.4 LTS
Desktop=MATE
Theme=gtk
Language=de_DE.UTF-8
Memory=3908M

[Libraries]
Cairo=libcairo.so.2.11510.0
DBus=libdbus-1.so.3.19.4
GStreamer=libgstreamer-1.0.so.0.1405.0
GTK+2=libgtk-x11-2.0.so.0.2400.32
GTK+3=libgtk-3.so.0.2200.30
OpenGL=libGL.so.1.0.0
Poppler=libpoppler.so.73.0.0
QT4=libQtCore.so.4.8.7
QT5=libQt5Core.so.5.9.5
SDL=libSDL-1.2.so.0.11.4
SQLite=libsqlite3.so.0.8.6

[Environment]
CLUTTER_IM_MODULE=xim
COMPIZ_CONFIG_PROFILE=mate
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DESKTOP_SESSION=mate
DISPLAY=:0
GB_GUI=gb.qt5
GDMSESSION=mate
GDM_LANG=de_DE
GIO_LAUNCHED_DESKTOP_FILE=<home>/Schreibtisch/gambas.desktop
GIO_LAUNCHED_DESKTOP_FILE_PID=126328
GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
GTK_IM_MODULE=ibus
GTK_MODULES=appmenu-gtk-module:gail:atk-bridge:canberra-gtk-module
GTK_OVERLAY_SCROLLING=0
HOME=<home>
IM_CONFIG_PHASE=2
INSIDE_CAJA_PYTHON=
LANG=de_DE.UTF-8
LANGUAGE=de_DE.UTF-8
LOGNAME=<user>
MATE_DESKTOP_SESSION_ID=this-is-deprecated
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PWD=<home>
QT4_IM_MODULE=xim
QT_ACCESSIBILITY=1
QT_AUTO_SCREEN_SCALE_FACTOR=0
QT_IM_MODULE=ibus
QT_LOGGING_RULES=*.debug=false
QT_QPA_PLATFORMTHEME=gtk2
QT_SCALE_FACTOR=1
SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/1620,unix/<hostname>:/tmp/.ICE-unix/1620
SHELL=/bin/bash
SHLVL=0
SSH_AGENT_PID=1801
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
TEXTDOMAIN=im-config
TEXTDOMAINDIR=/usr/share/locale/
TZ=:/etc/localtime
UBUNTU_MENUPROXY=1
USER=<user>
XAUTHORITY=<home>/.Xauthority
XDG_CONFIG_DIRS=/etc/xdg/xdg-mate:/etc/xdg
XDG_CURRENT_DESKTOP=MATE
XDG_DATA_DIRS=/usr/share/mate:/usr/share/mate:<home>/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share:/var/lib/snapd/desktop
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/<user>
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_DESKTOP=mate
XDG_SESSION_ID=c2
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SESSION_TYPE=x11
XDG_VTNR=7
XMODIFIERS=@im=ibus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestBug05-0.0.7.tar.gz
Type: application/x-compressed-tar
Size: 16866 bytes
Desc: not available
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20200801/1db1e141/attachment-0001.bin>


More information about the User mailing list