Search found 1113 matches
- Monday 28th August 2023 12:34pm
- Forum: General
- Topic: Did you know?
- Replies: 91
- Views: 410660
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...
- Saturday 19th August 2023 8:02pm
- Forum: General
- Topic: Picture resizing
- Replies: 3
- Views: 1065
Re: Picture resizing
Thanks Bruce. I'll check this out tomorrow.
EDIT 20/08/2023
That's done it! Thanks.
EDIT 20/08/2023
That's done it! Thanks.
- Saturday 19th August 2023 4:15pm
- Forum: General
- Topic: Picture resizing
- Replies: 3
- Views: 1065
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...
- Thursday 10th August 2023 2:42pm
- Forum: General
- Topic: [SOLVED] take over system focus
- Replies: 16
- Views: 3560
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...
- Sunday 6th August 2023 10:08am
- Forum: General
- Topic: Send message question without diturbing the user
- Replies: 3
- Views: 1539
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.
- Saturday 5th August 2023 8:20am
- Forum: General
- Topic: Printing a string correctly
- Replies: 2
- Views: 1386
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)
EDIT 05/08/23
It would be helpful to know what size label you are wanting to print on. (e.g. 50x25mm)
- Friday 4th August 2023 4:37pm
- Forum: General
- Topic: A challenge for you!
- Replies: 8
- Views: 1818
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...
- Friday 4th August 2023 2:30pm
- Forum: General
- Topic: A challenge for you!
- Replies: 8
- Views: 1818
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!
I was hoping this type of question might persuade a few more to contribute, so if you have another solution, let us see it!
- Thursday 3rd August 2023 2:57pm
- Forum: General
- Topic: A challenge for you!
- Replies: 8
- Views: 1818
A challenge for you!
I wanted to create 3 lines of text for a label (2" x 1" or 50mm x 25mm). The text should contain only complete words on each line and no longer than 20 characters. The string supplied could be anything from 3 to hundreds of characters. Excessive characters can be ignored. The code I came u...
- Friday 28th July 2023 2:01pm
- Forum: General
- Topic: [SOLVED] take over system focus
- Replies: 16
- Views: 3560
Re: take over system focus
This may help.
Public Sub Form_Open()
Wait 5
Shell "notify-send IMPORTANT! 'IMPORTANT message'"
Message("IMPORTANT\n\nImportant message", "OK")
End