Search found 156 matches

by Cedron
Monday 2nd March 2020 6:17pm
Forum: General
Topic: A Dirty Guide to OOP #1
Replies: 18
Views: 20422

Re: A Dirty Guide to OOP #1

Just for the sake of argument, I am going to disagree with you. Just funning. Writing code generators is fairly straightforward. Given a list of fields and their types, there is certainly a formula for codifying that as a Gambas Class file. Thus, one could write a program that reads the specs for cl...
by Cedron
Thursday 16th January 2020 2:57pm
Forum: General
Topic: Addressing several objects on a form in 1 line of code
Replies: 8
Views: 9287

Re: Addressing several objects on a form in 1 line of code

Call me old fashioned, but to me the simplest solution is to shove all those lines off to a Sub or Gosub and then you have one calling line. . . SetSeparatorColors( Color.Green ) . . '======================================================== Public Sub SetSeparatorColors( ArgColor as Integer ) Separa...
by Cedron
Tuesday 10th December 2019 5:29pm
Forum: General
Topic: How to display a round object?
Replies: 15
Views: 16366

Re: How to display a round object?

Interesting thread, Cedron. The Author in me couldn't resist a little editing. In the last post of the thread: "run it up the flag pool" ??? Sorry. it's my OCD kicking in. Bill Having lived with OCD people, I fixed it for you. Hopefully you recognize the line from the movie "12 Angry...
by Cedron
Monday 9th December 2019 8:01pm
Forum: General
Topic: How to display a round object?
Replies: 15
Views: 16366

Re: How to display a round object?

Seems as if I've solved the problem from way outside the box (no pun intended). I just made the buttons for the register letters larger than they would have been to include the short marker line and overlay a picture onto the button that covers the four "skirts" of gray nicely. Are any of...
by Cedron
Wednesday 4th December 2019 5:39pm
Forum: General
Topic: All my arrays are read-only
Replies: 16
Views: 17285

Re: All my arrays are read-only

I think this is your issue: https://lists.gambas-basic.org/pipermail/user/2019-December/068238.html You can work around this bug right now by turning your embedded array declaration Public sortname_LOGO[9, 2] As String into a real array Public sortname_LOGO As New String[9, 2] And why are you using ...
by Cedron
Monday 26th August 2019 10:07pm
Forum: General
Topic: Project Technical report - Ideas
Replies: 2
Views: 4127

Re: Project Technical report - Ideas

How about a third one? Might be a big one to pile on.

I highly recommend that you provide the ability to divert the reported information to either easily imported files (say tab delimited tables) or directly into a database (SQLite comes to mind).

This could be really useful.
by Cedron
Wednesday 21st August 2019 11:49am
Forum: General
Topic: Strange Stuff with the Gambas editor
Replies: 8
Views: 10058

Re: Strange Stuff with the Gambas editor

I have Mint 19 Mate installed on a different computer. I had some serious display problems until I installed the Qt5 packages. On my Mint 17 Mate machine, occasionally, and very occasionally, clicking the mouse in the edit area is ineffective. The solution that seems to work is to click somewhere el...
by Cedron
Monday 19th August 2019 4:14pm
Forum: General
Topic: Using Settings File
Replies: 1
Views: 3327

Using Settings File

This is forwarded from: https://forum.gambas.one/viewtopic.php?f=4&t=735&start=20 (New topics deserve new threads.) So I looked into this: http://gambaswiki.org/wiki/comp/gb.settings/settings and this seems like it could only handle form Objects... It's probably obvious for you guys where I'...
by Cedron
Wednesday 14th August 2019 1:36pm
Forum: General
Topic: 1st Time User Gambas Questions(Former VB6 user)
Replies: 22
Views: 25253

Re: 1st Time User Gambas Questions(Former VB6 user)

I'm relieved to see a fellow VB user on this forum, I can relate to your experiences and somewhat understand your opinions of comparing Gambas and VB. To answer your curiosity, people on other programming communities explain tests being done with comparing UDTs vs Classes, UDTs speeds are faster th...