Gambas 3 and Touchscreen app
Posted
#1
(In Topic #1066)
Regular

Posted
Guru

Posted
Regular

Posted
Regular

Posted
Regular

Posted
Guru

Posted
Regular

Posted
Regular

Posted
Guru

Are you developing on a different version of Gambas to the ones installed on the Debian machines?
Posted
Regular

I paused this post for a few minutes while I tested some more and I'm 99% sure this is the problem…finger taps and clickable pictureboxes don't work very well with touchscreens…at least for me
Posted
Regular

Posted
Regular

Posted
Regular

Posted
Regular

Posted
Administrator

Debian 11 has Gambas 3.18.0 in Backports and it does have the gambas3-gtk-webview and the gambas3-qt5-webview, so no need to go Debian 12.rj71 said
I'm going to spin up a Debian 12 vm which I believe has Gambas 3.18
Add this to your /etc/apt/sources.list and your good to go:
Code
deb http://deb.debian.org/debian bullseye-backports main contrib non-freeCode
sudo apt update
sudo apt install gambas3 -t bullseye-backports
gbWilly
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
Posted
Regular

Posted
Regular

Posted
Administrator

Post us an update on how things work out..
gbWilly
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
Posted
Regular

Posted
Guru

If you click a mouse on the scrollview scrollbar and drag it scrolls the view.
If you do the same not on the scrollbar it does not scroll. Just like your touchscreen app.
If you want that you'll need to detect mouse drag on the contents contained inside the scrollview.
Are touchscreens not set up to scroll when dragging 2 fingers ?
I think a feature like 2 finger swipe is down to the devices input setting not something you can program in gambas.
I could be wrong. You could test input data when 2 finger dragging (it might activate mouse wheel events)
Posted
Regular

1 guest and 0 members have just viewed this.

