Search found 55 matches

by Godzilla
Friday 05th February 2021 8:25am
Forum: General
Topic: Deep copy instead of shallow copy?
Replies: 8
Views: 265

Re: Deep copy instead of shallow copy?

Passing along a tidbit of information from my trial and error experiments with the Pets_Godzilla project (posted above)... As we already know, either of these two lines of code produces a shallow copy: If hPet.TypeOfAnimal = "Reptile" Then Reptiles.Add(hPet) Reptiles[iLoop] = hPet However, doing it ...
by Godzilla
Thursday 04th February 2021 9:34am
Forum: General
Topic: Deep copy instead of shallow copy?
Replies: 8
Views: 265

Re: Deep copy instead of shallow copy?

stevedee and cogier, thank you both for your replies. Steve: I understand that there is some debate as to what may constitute a true deep copy. But to me, whether or not the .Copy command is technically deep...its all fine and good as long as it allows me to make changes to a child array, without th...
by Godzilla
Wednesday 03rd February 2021 10:28am
Forum: General
Topic: Deep copy instead of shallow copy?
Replies: 8
Views: 265

Deep copy instead of shallow copy?

Hello, Let's say I have a class array called Pets. Let's say Pets is the end-result of a huge, CPU-intensive sort that I'd rather not have to perform again, when I can simply cherry-pick what I need from the already-sorted Pets array. So I create another class array of the same type, called Pets_Rep...
by Godzilla
Sunday 10th January 2021 6:02am
Forum: General
Topic: The new Gambas AppImage - can it run on Android?
Replies: 5
Views: 540

Re: The new Gambas AppImage - can it run on Android?

As I continue to read the Gambas AppImage threads on the mailing list, (if I understand them correctly, all the MVPs are over my head) Benoit had the brilliant idea of giving Gambas the option to export programs not into compiled executables, but to their own stand-alone AppImages. Fabien replied th...
by Godzilla
Sunday 10th January 2021 5:21am
Forum: General
Topic: Listbox advice
Replies: 5
Views: 503

Re: Listbox advice

Hello Andy, The problem you're having with the display of the text in your second image is: the text string that's been scanned into your ListBox contains an ASCII code for either a carriage return (gb.Cr) or a line feed (gb.Lf). Perhaps even both (gb.CrLf). This crams two lines of text into a verti...
by Godzilla
Sunday 10th January 2021 3:48am
Forum: General
Topic: The new Gambas AppImage - can it run on Android?
Replies: 5
Views: 540

The new Gambas AppImage - can it run on Android?

Hello all, I recently discovered from the Gambas mailing list that a working Gambas AppImage has finally been created. Fabien Bodard deserves a round of applause! I think its an incredible accomplishment, and its clearly the end-result of a great labor of love and dedication. From what I understand,...
by Godzilla
Sunday 25th October 2020 12:10am
Forum: General
Topic: TextArea, managing buffer size, scrolling
Replies: 5
Views: 680

Re: TextArea, managing buffer size, scrolling

Aah , i feel i have both taught something and learned something here , thank you. :) I was having a similar issue that i'd tracked down to the problem being the textarea was completely erasing and refilling again. Will look into the Insert() way instead. You're welcome and thank you :) BruceS Hey B...
by Godzilla
Saturday 24th October 2020 4:27am
Forum: General
Topic: TextArea, managing buffer size, scrolling
Replies: 5
Views: 680

Re: TextArea, managing buffer size, scrolling

Bruce and Cogier, thank you both for your replies. I tried Bruce's suggestion of including Wait 0.2. This didn't fix my scrolling problem. But it did unexpectedly make the TextArea flicker or flash, as status updates were added. On closer examination, I discovered that the flicker/flash was the Text...
by Godzilla
Friday 23rd October 2020 1:25am
Forum: General
Topic: TextArea, managing buffer size, scrolling
Replies: 5
Views: 680

TextArea, managing buffer size, scrolling

Hello everyone, I use a TextArea in one of my Gambas applications (QT). As my program operates, it periodically adds lines of status updates to the bottom of the TextArea. These updates contain various information such results of tests, sizes of files, the time operations have taken. etc. As the pro...
by Godzilla
Thursday 03rd September 2020 6:51am
Forum: General
Topic: Any issues upgrading to Gambas 3.15 stable in Mint 19.3?
Replies: 13
Views: 3129

Re: Any issues upgrading to Gambas 3.15 stable in Mint 19.3?

Thanks for the upgrade info; I tried it again your way and I am happy so far, except for a warning similar to yours --Steve S (GambasGuiGeneric:56871): Gtk-WARNING **: 17:03:30.481: for_size smaller than min-size (16 < 17) while measuring gadget (node button , owner GtkScrollbar) (GambasGuiGeneric:...