Search found 1552 matches

by BruceSteers
Sunday 29th January 2023 3:21pm
Forum: General
Topic: Timer Stalling
Replies: 4
Views: 2224

Re: Timer Stalling

Have you looked into Task.class? https://gambaswiki.org/wiki/comp/gb/task You can use a Task to run the method at a low priority so it does not effect the timer updates. a Task runs as a separate process/program , within the Task code you can set Application.Priority (0 = normal, 20 = lowest, -20 hi...
by BruceSteers
Friday 27th January 2023 6:27pm
Forum: General
Topic: Group
Replies: 5
Views: 1825

Re: Group

cogier wrote: Friday 27th January 2023 3:39pm I have upped the font size and tried all I can to enter text, but my system won't let me. I have had to hack the .form file and add it in there.
Hmm I had not seen this error unless a small font size but now i do.

Maybe some gtk update has caused it?

It works okay with the IDE running QT
by BruceSteers
Friday 27th January 2023 2:09pm
Forum: General
Topic: Embedded forms - accessing procedures on parent forms
Replies: 3
Views: 1501

Re: Embedded forms - accessing procedures on parent forms

Thank you Bruce for such a simple solution. Sadly I did not know about this, which would have saved me lots of somewhat ugly workarounds in the past. I work mainly with sqlite databases, and the reason I like embedded subforms is that they enable me to encapsulate and localize code for viewing and ...
by BruceSteers
Friday 27th January 2023 1:56pm
Forum: Beginners
Topic: Homework question
Replies: 13
Views: 4471

Re: Homework question

Thank you so much! Yes, I'm new to Gambas. I'm going to add the born-date, month and current-date (or the date they want the data for) in a Form and print it in a text area. Ill post updates when I'm done. Thank you guys so much! Well welcome to the wonderful world of gambas basic. Have a good read...
by BruceSteers
Friday 27th January 2023 11:13am
Forum: Beginners
Topic: Homework question
Replies: 13
Views: 4471

Re: Homework question

This will extract the contents of the meta tag you are seeking. Public Sub Form_Open() Dim hClient As HttpClient 'To create a HTTP Client Dim sResult As String 'To store the word's meaning hClient = New HttpClient As "hClient" 'Create a HTTP Client With hClient 'With the Client.. .URL = &q...
by BruceSteers
Friday 27th January 2023 10:49am
Forum: Beginners
Topic: Homework question
Replies: 13
Views: 4471

Re: Homework question

Im trying to build a horoscope app for school which reads the data from an URL. The question is: How can I read contents of a URL page and get only the data I want? Like the string I want is after "<meta property="og:description" content=xxxxxxxxxxx"" . I'm not interested i...
by BruceSteers
Thursday 26th January 2023 7:29pm
Forum: General
Topic: Group
Replies: 5
Views: 1825

Re: Group

How do you mean?

It's not just a pop down list it's a textbox.
First type a name of your choice, then that name will be in the list for other items.

Ps, text box shows no text for some wth font size 10 or lower
by BruceSteers
Tuesday 24th January 2023 3:01pm
Forum: General
Topic: Embedded forms - accessing procedures on parent forms
Replies: 3
Views: 1501

Re: Embedded forms - accessing procedures on parent forms

It's because of this... Public hChild As FChild Public Sub Form_Open() Dim hChild As New FChild(pnlChild) End Loose the Dim By using Dim hChild you are making another new hChild variable local to Form_Open() not the public declaration so the Public hChild As FChild never gets used so it remains to b...
by BruceSteers
Sunday 22nd January 2023 12:05pm
Forum: The Gambas IDE
Topic: New area
Replies: 0
Views: 14265

New area

Here is a new forum category dedicated to the gambas development environment itself.

Ask questions or talk about the usage of the gambas IDE here.

Post news about cool new features coming from the gambas dev team.
by BruceSteers
Sunday 22nd January 2023 11:23am
Forum: General
Topic: Hierarchy control mislabelled
Replies: 3
Views: 1558

Re: Hierarchy control mislabelled

Are you sure they are not TextLabels?

T is the image for a TextLabel ,
A is for normal labels

I just checked a bunch of my projects, All Labels show the A image.