Search found 1562 matches

by BruceSteers
Tuesday 28th June 2022 9:59pm
Forum: General
Topic: Move project to new pc
Replies: 17
Views: 3923

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: 3923

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: 3923

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: 12242

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: 8144

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: 1770

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: 2264

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...
by BruceSteers
Wednesday 15th June 2022 10:24am
Forum: General
Topic: something happened to the Gambas GUI
Replies: 5
Views: 1738

Re: something happened to the Gambas GUI

what version gambas is it you use?

I have no problems with dev-branch

gambas stable hasn't been updated for 2 months so if the problem has only just started then maybe you have another problem?

did you update the system?

did you try gambas with GTK and QT to see if it's a gui-toolkit error?
by BruceSteers
Sunday 12th June 2022 1:46pm
Forum: Beginners
Topic: Foreground of qt5.textedit.
Replies: 6
Views: 2264

Re: Foreground of qt5.textedit.

. See my post here Seany https://forum.gambas.one/viewtopic.php?f=15&t=1338 I discovered the TextEdit1.Selection.RichText property that would be like having a TextEdit1.InsertRichText() method to insert html code at the cursor position. PS. I found you can not just insert unfilled html code for ...
by BruceSteers
Sunday 12th June 2022 7:58am
Forum: Beginners
Topic: Richtext Cursor position
Replies: 5
Views: 1823

Re: Richtext Cursor position

I've attached your source modified with the above keypress event I also set the forms Arrangement property to Arrange.Vertical and .TextEdit1.Expand removed the need for your manual arrangement in the Resize event (Like Cogier said you should experiment with form layouts Panel.Arrangement properties...