Search found 125 matches

by cogier
Monday 15th January 2018 3:16pm
Forum: General
Topic: 'Ends'
Replies: 2
Views: 16

Re: 'Ends'

Excellent! Well using that method you could shorten: -
TextBox1.Text = Mid((Last.name), InStr(Last.name, "Button") + Len("Button"))
To
TextBox1.Text = Mid(Last.name, InStr(Last.name, "Button") + 6)
It just goes to show that there is always another way to do things. :D
by cogier
Sunday 14th January 2018 5:14pm
Forum: General
Topic: 'Ends'
Replies: 2
Views: 16

'Ends'

I have discovered a very useful tool in the Gambas toolbox 'Ends' so I thought I would share it with you.

Handle all the controls in the program below in 5 lines of code: -
Example of Ends.png
Example of Ends.png (169.4 KiB) Viewed 16 times
Example_of_Ends.tar
(97 KiB) Downloaded 9 times
by cogier
Wednesday 10th January 2018 3:58pm
Forum: General
Topic: Gridview borders
Replies: 6
Views: 63

Re: Gridview borders

I did a bit of digging into CSS syntax and came up with this modification to sevedee's code. hTimer As Timer siCount As Short Public Sub Form_Open() Dim hBorder As Border hTimer = New Timer As "Timer1" hTimer.start hBorder = New Border 'specify cell border With hBorder .Width = 5 .Color = Color.Red ...
by cogier
Tuesday 09th January 2018 11:55am
Forum: General
Topic: Gridview borders
Replies: 6
Views: 63

Re: Gridview borders

Well done stevedee. :D Once you have done it and press[F2] you, belatedly, get: - border.png ___________________________________________ Not that I know anything about 'CSS-like syntax' So my code is now: - GridViewCmdSearch[0, 0].Border = New Border("style:plain") Joke Son, pointing at the sky, ask...
by cogier
Monday 08th January 2018 7:09pm
Forum: General
Topic: Gridview borders
Replies: 6
Views: 63

Gridview borders

Can anybody tell me how to get Gridview cell borders? The help says This class defines constants used by the Border property of many controls. Moreover, since Gambas 3.7, this class is creatable, and allows to describe the border of a GridView cell or row . I have tried: - GridViewCmdSearch.Row[0] =...
by cogier
Wednesday 03rd January 2018 2:24pm
Forum: Lounge
Topic: Happy New Year!
Replies: 3
Views: 42

Re: Happy New Year!

'Bug-free'! :o OK I'll try. Thanks for the kind words and a Happy New Year to you and all our members.
by cogier
Wednesday 27th December 2017 3:46pm
Forum: Web
Topic: Playground
Replies: 1
Views: 43

Playground

Does anybody know what happening with the Gambas Playground https://gambas-playground.proko.eu/, it's throwing up an error?
by cogier
Monday 25th December 2017 8:46am
Forum: Lounge
Topic: Merry Christmas!
Replies: 3
Views: 57

Re: Merry Christmas!

And a Merry Christmas to all of you as well. :lol: :D
by cogier
Sunday 17th December 2017 4:57pm
Forum: General
Topic: Cut and Paste in Terminal
Replies: 15
Views: 296

Re: Cut and Paste in Terminal

Hi Didier, Thanks for the feedback: - One regret, the man pages are all in English, is there a way to select only French pages? In Mint sudo apt-get install manpages-fr manpages-fr-extra Is there a French translation of easyterminal (otherwise I can try to do it)? Let me get some bugs sorted and the...
by cogier
Friday 15th December 2017 11:17am
Forum: General
Topic: Cut and Paste in Terminal
Replies: 15
Views: 296

Re: Cut and Paste in Terminal

Hi Didier, A good example of changing something and breaking it!! Move line 54 ' If Not Exist(sFolder) Then Mkdir sFolder ' to line 43, just before ' Me.Show ' Salut Didier, Un bon exemple de changement et de rupture!! Déplacez la ligne 54' If Not Exist(sFolder) Then Mkdir sFolder ' à la ligne 43, j...