Search found 1565 matches

by BruceSteers
Saturday 2nd July 2022 1:22pm
Forum: General
Topic: Move project to new pc
Replies: 17
Views: 4026

Re: Move project to new pc

Of interest, the library I want to remove is not shown in /home/xxx/.local/share/gambas3/lib/unknown. The three legitimate libraries are listed. Maybe I can not delete the problem library is because its original directory was other than where it should have been and that directory does not exist. A...
by BruceSteers
Thursday 30th June 2022 7:43pm
Forum: Beginners
Topic: How to put objects [labels] within forms
Replies: 2
Views: 1436

Re: How to put objects [labels] within forms

Yes Me refers to the class the function is in not the newly created forms. you fixed that okay yourself BTW. you should ditch either using As "labelx" in the form creation or using the Object.Attach() call as they both do the same thing. Eg.. For siCount = 0 To 7 With hForm[siCount] = New ...
by BruceSteers
Thursday 30th June 2022 11:28am
Forum: General
Topic: Move project to new pc
Replies: 17
Views: 4026

Re: Move project to new pc

ps , the easiest way for us to help debug a program for you is if you posted it here then we could take a look for you :)
by BruceSteers
Tuesday 28th June 2022 9:59pm
Forum: General
Topic: Move project to new pc
Replies: 17
Views: 4026

Re: Move project to new pc

If you copied folder to a cd then copied to disk you may need to set write properties as cd files are read only so all files in project folder may also now be read only.

chmod -R +w /project/dir/*

Can't think of any other reason you can't remove a library?
by BruceSteers
Monday 27th June 2022 2:19pm
Forum: General
Topic: Move project to new pc
Replies: 17
Views: 4026

Re: Move project to new pc

You probably need to know this..... By default when dragging files/folders most file managers like caja, dolphin, nautilus will not copy hidden or backup files unless you have selected to show the files first. Any file/folder that begins with a dot like .src .gambas etc are "hidden" Any fi...
by BruceSteers
Sunday 26th June 2022 8:44pm
Forum: General
Topic: Move project to new pc
Replies: 17
Views: 4026

Re: Move project to new pc

cd /project/folder rm -f ".src/*~*" rm -f ".src/*(*" or press Ctrl-h to show all files in your file browser and find the files to delete the files with ~ are backup files, just copies of the original ones. the files with (1) etc are because you have repeatedly copied files when ...
by BruceSteers
Sunday 26th June 2022 3:30pm
Forum: Lounge
Topic: The Gambas Intro Music
Replies: 9
Views: 12379

Re: The Gambas Intro Music

I have modified my FWelcome.class PlaySound command like this... dNow = Date(Now) iYear = Year(dNow) dEaster = Date.EasterDay(iYear) If dNow = Date(iYear, 12, 25) Then sPlay = "bells.mp3" Else If dNow = Date(iYear, 8, 15) Or If dNow = dEaster Or If dNow = dEaster + 39 Then sPlay = "sp...
by BruceSteers
Saturday 25th June 2022 9:19am
Forum: Component
Topic: DrawingArea PAINT.ROTATE(RAD(x))
Replies: 8
Views: 8212

Re: DrawingArea PAINT.ROTATE(RAD(x))

I know nothing about that sort of math but after reading the situation i think it would be easier using Image.class instead of DrawingArea. So create a new Image to overlay instead, use your routine to paint the needle, then simply use the image rotation features. Also is your conversion from value ...
by BruceSteers
Tuesday 21st June 2022 8:24pm
Forum: General
Topic: Ideas for an auto-updater
Replies: 4
Views: 1828

Re: Ideas for an auto-updater

Hi, folks -------------------------------------------------- The Scenery --------------------------- I've made at about 20 integrated programs for the same company (sales, production, invoicing, laboratory, etc) using gambas and postgres. The database runs on a local network server and each program...
by BruceSteers
Tuesday 21st June 2022 7:49pm
Forum: Beginners
Topic: Foreground of qt5.textedit.
Replies: 6
Views: 2303

Re: Foreground of qt5.textedit.

I just discovered another magic property TextEdit1.Format http://gambaswiki.org/wiki/comp/gb.qt4.ext/.textedit.format Thanks to James on the gambas mailing list https://lists.gambas-basic.org/pipermail/user/2022-June/076305.html With that you can quickly get or set various things at current cursor p...