Search found 120 matches

by vuott
Tuesday 2nd August 2022 10:53am
Forum: General
Topic: [Solved] Word Wrapping on a Label
Replies: 2
Views: 83

Re: Word Wrapping on a Label

Uhmm ... maybe you should use the TextLabel Class, as this Class has the ".Wrap" Property.

https://gambaswiki.org/wiki/comp/gb.qt4/textlabel/wrap
by vuott
Saturday 23rd July 2022 7:29pm
Forum: Beginners
Topic: Using DrawArea - Simplified
Replies: 19
Views: 2032

Re: Using DrawArea - Simplified

I don't know if I have understood correctly; however, as you yourself reported ( https://forum.gambas.one/viewtopic.php?p=5889#p5889 ), it is not possible to use the Paint Class directly with a PictureBox. So, you will need to use Paint with an Object of type "Image" or "Picture" (by using Paint.Beg...
by vuott
Saturday 23rd July 2022 5:09pm
Forum: Beginners
Topic: Using DrawArea - Simplified
Replies: 19
Views: 2032

Re: Using DrawArea - Simplified

Do you mean that, if you use Class Paint directly with PictureBox, you get errors?
by vuott
Wednesday 13th July 2022 6:17am
Forum: Beginners
Topic: Using DrawArea - Simplified
Replies: 19
Views: 2032

Re: Using DrawArea - Simplified

seany wrote:
Tuesday 12th July 2022 1:48pm
Is there a web repo of all available controls, made by community?
I suggest you also search the currently existing international forums of Gambas programmers.
by vuott
Monday 11th July 2022 2:36pm
Forum: Beginners
Topic: start method in class
Replies: 17
Views: 788

Re: start method in class

BruceSteers wrote:
Monday 11th July 2022 11:48am
Benoit provided the simple answer on the mailing list......
ok :!:
by vuott
Sunday 10th July 2022 10:53pm
Forum: Beginners
Topic: start method in class
Replies: 17
Views: 788

Re: start method in class

In my opinion Gambas, to start a "command line" application, looks for the main module "Main.module"; instead, to start an application in a graphical environment (GTK or QT), it looks for the main class "FMain.class". Therefore, I believe it is not possible to start Gambas "directly" from a specific...
by vuott
Sunday 10th July 2022 10:03pm
Forum: Beginners
Topic: start method in class
Replies: 17
Views: 788

Re: start method in class

Must be a class to use the Application_Error event A Module does not have and cannot raise its own Events, but it can raise Events of other Classes. Exemplum: ' Gambas module file Public Sub Main() End ' By displaying the console and pressing the "Enter" key on the keyboard this Event of the "Appli...
by vuott
Thursday 7th July 2022 10:52pm
Forum: General
Topic: gb.scanner
Replies: 2
Views: 286

Re: gb.scanner

by vuott
Sunday 22nd May 2022 9:28pm
Forum: Beginners
Topic: Console text to Application
Replies: 2
Views: 430

Re: Console text to Application

If the command, used with "Shell", immediately returns its result, then you have to use the TO keyword.

Example:
Public Sub Form_Open()

  Shell "ls" To TextArea1.Text

End
http://gambaswiki.org/wiki/lang/shell
by vuott
Monday 9th May 2022 11:12am
Forum: Beginners
Topic: switch to previous instance
Replies: 4
Views: 730

Re: switch to previous instance

What do you mean by "instance", here ?