Search found 154 matches

by stevedee
Thursday 12th December 2019 11:43am
Forum: General
Topic: Has anyone used Gambas Script?
Replies: 0
Views: 7

Has anyone used Gambas Script?

I must admit I have never given Gambas script much thought, and may even have considered it to be feeble and irrelevant, while not actually bothering to take a look at it. But on a recent 'nothing-on-tv' night, I spent a couple of hours exploring what it could do. And "surprise-surprise" it turns ou...
by stevedee
Wednesday 11th December 2019 6:01am
Forum: General
Topic: Gridview borders
Replies: 11
Views: 3506

Re: Gridview borders

I wanted to be able to change the colour and size of the borders of my controls, but I might just have to add my own drawing code. Yes I think that is the only option. My example just used a panel control slightly larger than the main control. For anyone interested, here is my demo code using a Tex...
by stevedee
Tuesday 10th December 2019 10:05pm
Forum: Project showcase
Topic: Simple File Cabinet
Replies: 9
Views: 547

Re: Simple File Cabinet

...I have implemented everything that stevedee and you suggested in the latest version. So hope you like the program. Great stuff cage, I think that is an improvement. Just a few more points (sorry); 1. I think you may have forgotten to add the Delete Category option to the drop-down menu. 2. Whene...
by stevedee
Tuesday 10th December 2019 8:54pm
Forum: Project showcase
Topic: Simple File Cabinet
Replies: 9
Views: 547

Re: Simple File Cabinet

...until they came out with VB Net. Didn't like VB Net at all... Me too. When still working in industry, I enjoyed VB6, didn't like .Net, and really didn't like C++. I also discovered the delights of VBA for Excel, creating an OPC server/client system for an Irish cheese products company. Its good ...
by stevedee
Monday 09th December 2019 4:36pm
Forum: General
Topic: Gridview borders
Replies: 11
Views: 3506

Re: Gridview borders

Does this only work for gridview borders or can you change the colour and style on other controls? It looks like it only works with GridView controls. The border property on most controls just turns it on/off, and it wont accept a bunch of style properties. However, did you just want to create a si...
by stevedee
Monday 09th December 2019 1:35pm
Forum: Project showcase
Topic: Simple File Cabinet
Replies: 9
Views: 547

Re: Simple File Cabinet

This is a simple file cabinet program that allows you to setup categories and place information in those categories... I've only had an hour or so to look at this, but hope to spend some more time later. Initial impression: I like it! Comments; 1. I'd prefer 'right-click' to bring up the option for...
by stevedee
Sunday 08th December 2019 6:43am
Forum: Web
Topic: ssh from gambas on linux
Replies: 2
Views: 376

Re: ssh from gambas on linux

seany wrote:
Saturday 07th December 2019 7:01pm
...I wish to ssh to a target server (say, a.b.c.d) from gambas...
As far as I know there are no Gambas wrappers for ssh.

I don't really know what you want to do, but if the web server belongs to you then you could use Sockets (gb.net) for communication between a remote computer and your server.
by stevedee
Thursday 05th December 2019 8:51am
Forum: General
Topic: All my arrays are read-only
Replies: 16
Views: 706

Re: All my arrays are read-only

I believe I’ve read somewhere that Steve’s method is the recommended way, and that setting everything public should be avoided as far as possible... Its a security thing. >>>>Ooops, see edit below Imagine that cogier releases an update to "Killer App" to his fan base of 10 million users. He makes l...
by stevedee
Tuesday 03rd December 2019 12:43pm
Forum: General
Topic: All my arrays are read-only
Replies: 16
Views: 706

Re: All my arrays are read-only

...There is a 'Public' property in the IDE you can change for individual controls... Nice one Charlie, I hadn't spotted that. I guess if we were bothered about OOP and the concept of encapsulation, then keeping all controls Private and just having Public routines to Get & Set values would be the wa...
by stevedee
Tuesday 03rd December 2019 12:28pm
Forum: General
Topic: All my arrays are read-only
Replies: 16
Views: 706

Re: All my arrays are read-only

...I think there is another way to do this... If you don't want to make your controls Public, just create a Public routine in the 1st form:- Public Sub UpdateName(strName As String) txtName.text = strName End ...then call it from your 2nd form:- Public Sub Button1_Click() FMain.UpdateName("Steve") ...