Search found 1115 matches

by cogier
Tuesday 29th August 2023 4:17pm
Forum: General
Topic: last post from "Did you know"
Replies: 8
Views: 3449

Re: last post from "Did you know"

If you are using Linux Mint then I would remove all Gambas files. Open Synaptic , search for gambas3 and delete them all. If the ppa has been installed, you should see it in Software sources. https://www.cogier.com/gambas/SoftwareSources.png Then run: - sudo apt-get update sudo apt-get upgrade sudo ...
by cogier
Tuesday 29th August 2023 9:56am
Forum: General
Topic: Onscreen format
Replies: 3
Views: 1420

Re: Onscreen format

That was an interesting little problem. The first point to make is that if your computer's language does not support the currency you want, i.e. English does support the Dollar and the GB Pound but not the Euro for example, you will need to install the relevant language pack. See in the code below. ...
by cogier
Monday 28th August 2023 12:34pm
Forum: General
Topic: Did you know?
Replies: 91
Views: 416324

Re: Did you know?

Did you not consider using the ppa? Keep your Gambas up to date: - Gambas3 Stable sudo add-apt-repository -y ppa:gambas-team/gambas3 && sudo apt-get update && sudo apt-get -y install gambas3 Gambas3 Daily Build sudo add-apt-repository -y ppa:gambas-team/gambas-daily && sudo a...
by cogier
Saturday 19th August 2023 8:02pm
Forum: General
Topic: Picture resizing
Replies: 3
Views: 1075

Re: Picture resizing

Thanks Bruce. I'll check this out tomorrow.

EDIT 20/08/2023

That's done it! Thanks. :D
by cogier
Saturday 19th August 2023 4:15pm
Forum: General
Topic: Picture resizing
Replies: 3
Views: 1075

Picture resizing

My camera produces up to 10Meg photos. I have discovered that FileChooser refuses to display a preview of large images. I can get the image into a PictureBox , but if I want to display many at once, the amount of memory used can cause my PC to lock up! If I reduce the size of the photos to less than...
by cogier
Thursday 10th August 2023 2:42pm
Forum: General
Topic: [SOLVED] take over system focus
Replies: 16
Views: 3647

Re: take over system focus

I'm not in league with the great coders on this forum. So if anyone would like to improve on this code, make it more logical, make it even easier for anyone to plug it into their own applications as a replacement for Message(), I welcome it and look forward to it. Well, you asked! I hope I have sim...
by cogier
Sunday 6th August 2023 10:08am
Forum: General
Topic: Send message question without diturbing the user
Replies: 3
Views: 1566

Re: Send message question without diturbing the user

Well, here is my effort regarding this one, I hope it helps. This has not been tested on Wayland.
Attention_Tester-0.0.1.tar.gz
(14.42 KiB) Downloaded 140 times
by cogier
Saturday 5th August 2023 8:20am
Forum: General
Topic: Printing a string correctly
Replies: 2
Views: 1394

Re: Printing a string correctly

Check out the last post in this section A challenge for you. Also see if lpstat -p -d on the command line sees your printer.

EDIT 05/08/23
It would be helpful to know what size label you are wanting to print on. (e.g. 50x25mm)
by cogier
Friday 4th August 2023 4:37pm
Forum: General
Topic: A challenge for you!
Replies: 8
Views: 1830

Re: A challenge for you!

how about the Picture method i first spoke of... Thanks, but I have managed to get Gambas to work with a Zebra Thermal Printer using gb.cairo to create a pdf document of 2" x 1" which I put in the /tmp folder. I can then print it by shelling the lp command. For iLoop = 1 To SliderBoxCopie...
by cogier
Friday 4th August 2023 2:30pm
Forum: General
Topic: A challenge for you!
Replies: 8
Views: 1830

Re: A challenge for you!

Thank you, Bruce. I am looking at your code. It certainly contains one or two nifty bits of code I need to get my head around.

I was hoping this type of question might persuade a few more to contribute, so if you have another solution, let us see it!