[Gambas-bugtracker] Bug #2679: unknown symbol

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Thu Jan 5 11:49:08 CET 2023


http://gambaswiki.org/bugtracker/edit?object=BUG.2679&from=L21haW4-

Michael ALTROGGE reported a new bug.

Summary
-------

unknown symbol

Type             : Bug
Priority         : Medium
Gambas version   : Unknown
Product          : Language


Description
-----------

this dont work:

    For Each oTemp As Control In SE11.Controls
            If String.left(oTemp.Name, 2) = "BB" Then
            oTemp.Text = String.UCase(oTemp.Text)        ---> unknown symbol "Text" in Control
        Endif
    Next

this works:

    Dim $B As ButtonBox

    For Each oTemp As Control In SE11.Controls
            If String.left(oTemp.Name, 2) = "BB" Then
            $B = oTemp
            $B.Text = String.UCase($B.Text)
            oTemp = $B
        Endif
    Next


System information
------------------

[System]
Gambas=3.18
OperatingSystem=Linux
Kernel=5.15.0-56-generic
Architecture=x86_64
Distribution=Zorin OS 16.2
Desktop=ZORIN
Font=Inter,10
Scale=7
Theme=zoringrey-light
Language=de_DE.UTF-8
Memory=6887M

[Programs]
gcc=gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
git=git version 2.25.1
pngquant=2.12.0 (January 2018)

[Libraries]
Cairo=libcairo.so.2.11600.0
Curl=libcurl.so.4.6.0
DBus=libdbus-1.so.3.19.11
GDK2=libgdk-x11-2.0.so.0.2400.32
GDK3=libgdk-3.so.0.2404.16
GStreamer=libgstreamer-1.0.so.0.1603.0
GTK+2=libgtk-x11-2.0.so.0.2400.32
GTK+3=libgtk-3.so.0.2404.16
OpenGL=libGL.so.1.7.0
Poppler=libpoppler.so.97.0.0
QT5=libQt5Core.so.5.12.8
SDL=libSDL-1.2.so.0.11.4
SQLite=libsqlite3.so.0.8.6

[Environment]
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DESKTOP_AUTOSTART_ID=1034c8cfb0be8c9c3d16729126075416400000013130022
DESKTOP_SESSION=zorin
DISPLAY=:0
EDITOR=gnome-text-editor
GB_GUI=gb.gtk3
GDMSESSION=zorin
GIO_LAUNCHED_DESKTOP_FILE=<home>/.config/autostart/cairo-dock.desktop
GIO_LAUNCHED_DESKTOP_FILE_PID=1588
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GNOME_SHELL_SESSION_MODE=zorin
GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
GTK_MODULES=gail:atk-bridge:appmenu-gtk-module
HOME=<home>
IM_CONFIG_PHASE=1
INVOCATION_ID=e514c2e82fa04a1383d4ac4e749fe779
JOURNAL_STREAM=8:45274
LANG=de_DE.UTF-8
LC_ALL=de_DE.UTF-8
LOGNAME=<user>
MANAGERPID=932
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin
PWD=<home>
QT_ACCESSIBILITY=1
QT_IM_MODULE=ibus
QT_LOGGING_RULES=*.debug=false
QT_QPA_PLATFORMTHEME=gtk3
QT_STYLE_OVERRIDE=adwaita
SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/1313,unix/<hostname>:/tmp/.ICE-unix/1313
SHELL=/bin/bash
SHLVL=0
SSH_AGENT_PID=1246
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
TZ=:/etc/localtime
USER=<user>
USERNAME=<user>
WINDOWPATH=2
XAUTHORITY=/run/user/1000/gdm/Xauthority
XDG_CONFIG_DIRS=/etc/xdg/xdg-zorin:/etc/xdg
XDG_CURRENT_DESKTOP=zorin:GNOME
XDG_DATA_DIRS=/usr/share/zorin:<home>/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
XDG_MENU_PREFIX=gnome-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=zorin
XDG_SESSION_TYPE=x11
XMODIFIERS=@im=ibus
_=/usr/bin/dbus-update-activation-environment




More information about the Bugtracker mailing list