Search found 1114 matches

by cogier
Friday 8th September 2023 3:37pm
Forum: General
Topic: How to autosize monitor-screen?
Replies: 4
Views: 1661

Re: How to autosize monitor-screen?

I think I better understand what you are trying to do. Have a look at this code.

Image
MenuDisplay-0.0.2.tar.gz
(166.88 KiB) Downloaded 129 times
by cogier
Wednesday 6th September 2023 2:30pm
Forum: General
Topic: How to autosize monitor-screen?
Replies: 4
Views: 1661

Re: How to autosize monitor-screen?

Does the attached help?
MenuDisplay-0.0.1.tar.gz
(166.02 KiB) Downloaded 134 times
by cogier
Tuesday 5th September 2023 4:59pm
Forum: General
Topic: Advise on Cleaning up data
Replies: 8
Views: 2631

Re: Advise on Cleaning up data

Well, that looks quite complicated. I have looked at till receipts and if there is a credit it is clearly shown and, I think, a record should be kept. Below is a simplified piece of code showing the way I would go about this. Sorry but I have run out of time today to improve it. ' Gambas class file ...
by cogier
Tuesday 5th September 2023 3:46pm
Forum: Web
Topic: WebView / NewView
Replies: 2
Views: 10234

Re: WebView / NewView

I am not into web components but a quick look shows that NewView is a Property not an Event . You may be looking for NewWindow which is an Event . Have a look here . Have a look at the WebBrowser Example on the Farm. It has an example of the event being used: - https://www.cogier.com/gambas/NewWindo...
by cogier
Tuesday 5th September 2023 2:50pm
Forum: General
Topic: Advise on Cleaning up data
Replies: 8
Views: 2631

Re: Advise on Cleaning up data

..I can post the code that adds data to the receipt file if that helps.
Yes that would help.
by cogier
Tuesday 5th September 2023 9:25am
Forum: General
Topic: Advise on Cleaning up data
Replies: 8
Views: 2631

Re: Advise on Cleaning up data

Can you post the program so we can see how you are doing things.
by cogier
Monday 4th September 2023 2:43pm
Forum: General
Topic: Advise on Cleaning up data
Replies: 8
Views: 2631

Re: Advise on Cleaning up data

Is the list of products in an array? If so, you can just delete the correct item with Array.Remove()
by cogier
Thursday 31st August 2023 9:21am
Forum: General
Topic: last post from "Did you know"
Replies: 8
Views: 3422

Re: last post from "Did you know"

Bruce is correct that the ppa is an Ubuntu idea, however, it can be used on Debian. Have a look here.

Just be careful, first I would test it out on a fresh install that you can afford to screw up or a VM.
by cogier
Thursday 31st August 2023 9:13am
Forum: General
Topic: Onscreen format
Replies: 3
Views: 1416

Re: Onscreen format

To ask for a possible improvement though, if the said language (say "sp.ca" for instance) is not installed then how in a general way can it be tested for? The Linux CLI command to show all the installed languages is locale -a I have altered the above code to show the list: - Public Sub Fo...
by cogier
Tuesday 29th August 2023 4:17pm
Forum: General
Topic: last post from "Did you know"
Replies: 8
Views: 3422

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 ...