Search found 1115 matches

by cogier
Thursday 6th April 2023 2:32pm
Forum: Beginners
Topic: How detect Mouse wheel direction?
Replies: 2
Views: 691

Re: How detect Mouse wheel direction?

Hi iiiypuk.me and welcome to the forum. Try the following code: -

Public Sub Form_MouseWheel()

  If Mouse.Delta = 1 Then Print "Rolling forward"
  If Mouse.Delta = -1 Then Print "Rolling backwards"

End
by cogier
Thursday 6th April 2023 2:25pm
Forum: Beginners
Topic: KeyPress event double fires after using MouseWheel
Replies: 4
Views: 819

Re: KeyPress event double fires after using MouseWheel

I'm also using Mint 21.1 and the problem you report also happens to me, but I have discovered that this only happens with gb.gui. If you change from GTK to QT using gb.gui.qt instead, the problem goes away. Whether this is a bug in Gambas or in GTK, I leave to others to work out.
by cogier
Tuesday 4th April 2023 9:01am
Forum: General
Topic: Problem with installing gambas3
Replies: 7
Views: 1130

Re: Problem with installing gambas3

F11 does nothing.
Any ideas?
No, but, what happens if you 'Print' something? That opens it automatically.
by cogier
Monday 3rd April 2023 4:43pm
Forum: General
Topic: Problem with installing gambas3
Replies: 7
Views: 1130

Re: Problem with installing gambas3

As usual, the Gambas package on Ubuntu is faulty. I suggest you load Synaptic, mark all the 'gambas3' files and delete them, it is important that you get rid of all of them. Once done, run the following command in Terminal: - sudo add-apt-repository -y ppa:gambas-team/gambas3 && sudo apt-get...
by cogier
Monday 3rd April 2023 4:30pm
Forum: Beginners
Topic: SVG scaling [SOLVED]
Replies: 4
Views: 784

Re: SVG scaling

What is the best way to properly scale an svg graphic for use in Gambas IconView? Well, I have just spent about an hour and a half on this and came up with the following that uses a little less code. Note that line 24 is needed as for some reason a SVG image saved at 128,128 ends up at 160,160! Pub...
by cogier
Monday 3rd April 2023 2:39pm
Forum: Beginners
Topic: How to play a video file in Gambas? [SOLVED]
Replies: 10
Views: 1837

Re: How to play a video file in Gambas? [SOLVED]

Is there a way to play the video rotated 90 degrees?
You could rotate the video before playing it. Have a look here.
by cogier
Monday 27th March 2023 4:03pm
Forum: Component Showcase
Topic: Keystroke recorder with TextEditor
Replies: 4
Views: 6199

Re: Keystroke recorder with TextEditor

I can't get the video to work in your post, but it works here.
by cogier
Thursday 23rd March 2023 2:57pm
Forum: General
Topic: Best GUI programming languages for Linux
Replies: 3
Views: 999

Best GUI programming languages for Linux

I bumped in to this and thought it might be of interest.
by cogier
Saturday 18th March 2023 3:36pm
Forum: Lounge
Topic: Linux Mint Users - Upgrade to 21.1 Vera - FYI
Replies: 6
Views: 6183

Re: Linux Mint Users - Upgrade to 21.1 Vera - FYI

The upgrade to Mint 21.1 raised issues with me as well. I had to uninstall Gambas, then reinstall it from the ppa after the update.
by cogier
Sunday 5th March 2023 3:39pm
Forum: Lounge
Topic: A nice video of a bit of computing history
Replies: 2
Views: 4965

Re: A nice video of a bit of computing history

Well worth a look. Thanks.