Search found 1113 matches
- Friday 13th October 2023 9:42am
- Forum: Beginners
- Topic: embeded pictures px area
- Replies: 3
- Views: 3348
Re: embeded pictures px area
I think the best way to do this is with Labels. Have a look at the attached code that I have started. Hopefully it will help you.
- Thursday 12th October 2023 9:51am
- Forum: The Gambas IDE
- Topic: Console outputting other running gambas programs
- Replies: 4
- Views: 5668
Re: Console outputting other running gambas programs
You could try using a Task for the file load. That way you would use 2 cpu processes instead of one.Do you have any suggestions for the audio playback breaking playback during a file load? Just fails to make sound for a 1/4 second.
- Monday 9th October 2023 10:05am
- Forum: General
- Topic: Combining String data
- Replies: 8
- Views: 4349
Re: Combining String data
At a guess, I'd say that one of you has a blank line at the end of the file and one doesn't. In other words a Cr or whatever on the last data line. If that is the case then I find the best way to to handle that is in the initial file load when the file string is split by line endings, just by ignor...
- Sunday 8th October 2023 4:47pm
- Forum: The Gambas IDE
- Topic: Band Font Size error when trying to use Gambas IDE with QT5
- Replies: 2
- Views: 3651
Re: Band Font Size error when trying to use Gambas IDE with QT5
I am using Linux Mint 21.2 with the Cinnamon desktop and I did not get the same error as you. There was a 'libpng' warning, but I have no idea what it means. At a quick glance, Gambas seemed to work OK.
- Saturday 7th October 2023 3:41pm
- Forum: General
- Topic: Combining String data
- Replies: 8
- Views: 4349
Re: Combining String data
Wow! You now have 3 options to pick from. A couple of points. vuott: - Your code works perfectly if line 22 ss.Remove(ss.Max, 1) is removed! thatBruce: - Your code will look better if you use the gb rather than the </> button. (I have edited your post above). https://www.cogier.com/gambas/gb_button....
- Friday 6th October 2023 10:30am
- Forum: General
- Topic: Combining String data
- Replies: 8
- Views: 4349
Re: Combining String data
You can do it with arrays. This is my solution, maybe someone can come up with a simpler version but this does work. ' Gambas class file 'Contents of file BCode.txt ' 5018374320766|1 ' 50201600|2 ' 99998|1 ' 99999|2 ' 5018374320766|2 ' 50201600|1 ' 5018374320766|5 ' 99999|2 ' 547892|9 ' 99999|2 ' 54...
- Thursday 5th October 2023 10:59am
- Forum: Project showcase
- Topic: Simple Temp monitor example using LCDLabel
- Replies: 5
- Views: 10332
Re: Simple Temp monitor example using LCDLabel
It works well, nice job. My computer runs a lot hotter than yours, showing at around 60.00°.
- Thursday 5th October 2023 10:47am
- Forum: Beginners
- Topic: Export an old Gambas app to a new system
- Replies: 4
- Views: 3127
Re: Export an old Gambas app to a new system
Like vuott I managed to get the program to run with minor changes on Linux Mint 21.2 with Gambas 3.18.4 https://www.cogier.com/gambas/Neco1.png There are a lot of unused functions and variables, this is only one page! https://www.cogier.com/gambas/Neco2.png I think the error you are getting is to do...
- Sunday 1st October 2023 12:42pm
- Forum: General
- Topic: [Solved] Sound advise
- Replies: 20
- Views: 8786
Re: Sound advise
Dim SpeakerData As String = Null SpeakerData = "speaker-test -t sine -f 1000 -l 1 & sleep .2 && kill -9 $!" Shell SpeakerData There is no need for = Null, you could have just followed the equal sign with "speaker - test -t.....". Better still: - Shell "speaker-t...
- Sunday 1st October 2023 12:07pm
- Forum: Beginners
- Topic: Problems with Containers
- Replies: 4
- Views: 3833
Re: Problems with Containers
There is definitely an art to getting the GUI items the way you want, but it's worth the effort. Have a look at ExpandingForms on the Farm or available here . It will give you the basics. Regarding your present issue, I think what you are looking for is below. Be careful with the use of AutoResize ....