Search found 173 matches

by thatbruce
Saturday 11th May 2024 2:49pm
Forum: General
Topic: Is there a more efficient way to set properties of each tab in a tabstrip?
Replies: 5
Views: 21

Re: Is there a more efficient way to set properties of each tab in a tabstrip?

There a couple of things here. 1. As with many controls, the property values are not set to the IDE values until the control is actually loaded. It is similar for code set property values. So some things depend on when you are trying to setting them. 2. As Bruce said, the "tabs" are best a...
by thatbruce
Saturday 11th May 2024 2:37pm
Forum: General
Topic: IDE Project Tree "Configuration" folder
Replies: 2
Views: 32

Re: IDE Project Tree "Configuration" folder

Thanks. Humph. It should be better called Highlighters then. I had high hopes it was about .conf files. Damn and bah.
b
by thatbruce
Saturday 11th May 2024 1:54am
Forum: General
Topic: IDE Project Tree "Configuration" folder
Replies: 2
Views: 32

IDE Project Tree "Configuration" folder

In the IDE these days there is a folder in the project tree called "Configuration" can someone please tell me what its for?

b
by thatbruce
Tuesday 30th April 2024 12:34pm
Forum: The Gambas IDE
Topic: Wayland and gambas
Replies: 4
Views: 249

Re: Wayland and gambas

Well, given his comments re "descriptive" rather than "prescriptive" I would guess both. Someone on the mailing list commented that it is a bit like html and look at the manure that has turned into these days. Just to be an old fogie I will say that the major problem is that the ...
by thatbruce
Tuesday 30th April 2024 12:28pm
Forum: General
Topic: Live video feed?
Replies: 6
Views: 904

Re: Live video feed?

There is/was a farm project that played the usb camera video in live mode. I cant remember who wrote it or what it was called. If you could find it, it might provide some clues. I used it in a similar situation some years ago when I had a local idiot who kept stealing the wheely bins from the footp...
by thatbruce
Wednesday 10th April 2024 10:02am
Forum: General
Topic: Suggestions for checking that all array values are unique
Replies: 7
Views: 2961

Re: Suggestions for checking that all array values are unique

Brilliant! (I think you might be getting a bit good with these prawns ;) ) In fact I can do this all inline in my project as I sort the array just beforehand so I can check that it is monotonic. This is all to do with an old problem regarding keeping two arrays synchronized. I have run it through th...
by thatbruce
Wednesday 10th April 2024 2:17am
Forum: General
Topic: Suggestions for checking that all array values are unique
Replies: 7
Views: 2961

Re: Suggestions for checking that all array values are unique

Ta. I wasn't clear enough. I just need to check it not replace it. So have gone with Public Function CheckArrayUniqueness(aList as Integer[]) As Boolean Dim aNewList As New Integer[] For c As Integer = 0 To aList.Max If Not aNewList.Exist(aList[c]) Then aNewList.Add(aList[c]) Next Return aNewList.Co...
by thatbruce
Tuesday 9th April 2024 9:03am
Forum: General
Topic: Suggestions for checking that all array values are unique
Replies: 7
Views: 2961

Suggestions for checking that all array values are unique

Hi all.

Looking for suggestions. My Integer[] must only contain unique values. I just can't think of a really good way that does not involve a lot of unnecessary statistical manipulations.

tia
b
by thatbruce
Tuesday 2nd April 2024 10:14pm
Forum: Beginners
Topic: Problems with importing SQLite3 with Exec in Gambas
Replies: 2
Views: 472

Re: Problems with importing SQLite3 with Exec in Gambas

Thats because ".import" is an sqlite (the terminal front end) command, not an SQL verb. The gb.db.sqlite component works with the sqlite library, not the front end. You need to send the command to the front end via Shell or Exec.
b
by thatbruce
Tuesday 2nd April 2024 11:24am
Forum: General
Topic: Problem with menu in gridview
Replies: 14
Views: 1728

Re: Problem with menu in gridview

Ah Grasshopper! Again you have failed to respect history. Olde tyme myce had only two buttons (there is some pre-history regarding a "one button mouse" but that can be disregarded) hence the numbering.
:| :twisted: :D
b