Search found 27 matches

by rj71
Thursday 6th July 2023 10:39pm
Forum: General
Topic: Gambas 3 and Touchscreen app
Replies: 20
Views: 3839

Re: Gambas 3 and Touchscreen app

So I added backports and upgraded Gambas. It is now 3.18.0 but it's still not letting me tap the picturebox_mousedown. It's ok though, now that I have GTK3 updated and with webview, I can switch the pictureboxes to a button with a transparent background and image. I'll make that work. Thanks for the...
by rj71
Thursday 6th July 2023 10:15pm
Forum: General
Topic: Gambas 3 and Touchscreen app
Replies: 20
Views: 3839

Re: Gambas 3 and Touchscreen app

I didn't know that...wow. I'll add backports and try the app again. Thank you!
by rj71
Thursday 6th July 2023 8:41pm
Forum: General
Topic: Gambas 3 and Touchscreen app
Replies: 20
Views: 3839

Re: Gambas 3 and Touchscreen app

I'm going to spin up a Debian 12 vm which I believe has Gambas 3.18, I think that should have all the GTK3 components including webview which I need. I'll switch the app to GTK3 and test it out. Hopefully that solves my picturebox mousedown touchscreen problem.
by rj71
Thursday 6th July 2023 7:21pm
Forum: General
Topic: Gambas 3 and Touchscreen app
Replies: 20
Views: 3839

Re: Gambas 3 and Touchscreen app

Well crap. Looks like I was wrong. DblClick doesn't seem to work on the kiosk app but did work on the other test app. I'm not sure how to solve this without replacing all pictureboxes with buttons. I'd rather not do that because the images are transparent and I have something kinda cool going on on ...
by rj71
Thursday 6th July 2023 7:00pm
Forum: General
Topic: Gambas 3 and Touchscreen app
Replies: 20
Views: 3839

Re: Gambas 3 and Touchscreen app

So just some quick testing on how to solve my picturebox_MouseDown event that doesn't work with touchscreens... replacing it with the DblClick event seems to solve the problem. It's not really a double click when tapping with a finger...just a single tap seems to do it. Hope this helps if someone el...
by rj71
Thursday 6th July 2023 6:27pm
Forum: General
Topic: Gambas 3 and Touchscreen app
Replies: 20
Views: 3839

Re: Gambas 3 and Touchscreen app

Hi cogier, I think I have discovered the problem but to answer your question, yes I tried to install gb.gtk3.webview...Debian says it's not in the repo. I do develop on Ubuntu 22 (Gambas 3.16.3 is what I have) and target machines are usually Debian Bullseye (Gambas3 3.15.2). For some reason I though...
by rj71
Thursday 6th July 2023 6:15pm
Forum: General
Topic: Gambas 3 and Touchscreen app
Replies: 20
Views: 3839

Re: Gambas 3 and Touchscreen app

I think I have possibly discovered the problem here. My kiosk app is designed as a dashboard sort of looking thing. I use Pictureboxes with an image to act as a button to trigger/do things. The Pictureboxes of course use the MouseDown event which seems to be the problem with touchscreen monitors...a...
by rj71
Thursday 6th July 2023 4:56pm
Forum: General
Topic: Gambas 3 and Touchscreen app
Replies: 20
Views: 3839

Re: Gambas 3 and Touchscreen app

Well now I have a problem if I'm going to use GTK. I develop on an old macbook pro running Ubuntu 22 but almost all my target machines are running Debian Bullseye. Debian is telling me I need gb.gtk3.webview which it can't find in the repo. I have already installed the full Gambas 3 on the Debian ma...
by rj71
Thursday 6th July 2023 4:41pm
Forum: General
Topic: Gambas 3 and Touchscreen app
Replies: 20
Views: 3839

Re: Gambas 3 and Touchscreen app

Ah! I didn't know I could do that. I assumed I had to build a fresh app. I've actually already ran into another problem when I added the gtk3-webview component which I use in the kiosk app. Debian doesn't have it installed so I gotta track that down now and get it installed.
by rj71
Thursday 6th July 2023 4:13pm
Forum: General
Topic: Gambas 3 and Touchscreen app
Replies: 20
Views: 3839

Re: Gambas 3 and Touchscreen app

So here are the results of my quick test using GTK: finger taps work consistently on the Debian machine with the touchscreen. This test app is absolutely nowhere near as big and complicated as the kiosk app I was referring to but still....every finger tap worked. Could it be the GTK is better or do ...