Re: [Gambas-user] Pre-release of Gambas 3.5.1

2013-11-08 Thread Benoît Minisini
Le 09/11/2013 02:19, Benoît Minisini a écrit : > Hi, > > Here you can download a non-official pre-release of Gambas 3.5.1: > > http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.5.1.tar.bz2/download > > This releases mainly tries to fix the packager, but there are some bug > fixes and n

[Gambas-user] Pre-release of Gambas 3.5.1

2013-11-08 Thread Benoît Minisini
Hi, Here you can download a non-official pre-release of Gambas 3.5.1: http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.5.1.tar.bz2/download This releases mainly tries to fix the packager, but there are some bug fixes and new features related to the bug fixes too. Here is a summar

Re: [Gambas-user] App.Major Version

2013-11-08 Thread Fabien Bodard
2013/11/8 Bruce : > On Fri, 2013-11-08 at 15:23 +0100, Fabien Bodard wrote: >> My turn !! >> >> Dim aVersion as String[] = scan(sVersion,"*.*.*") >> >> Print aVersion[0] >> >> >> Work also with split. >> > Ha! > > > Dim aVersion As String[] = Scan(Application.Version, "*.*.*") > > Print aVersio

Re: [Gambas-user] App.Major Version

2013-11-08 Thread Fabien Bodard
My turn !! Dim aVersion as String[] = scan(sVersion,"*.*.*") Print aVersion[0] Work also with split. 2013/11/8 Riaan Pretorius : > thx guys! exactly what i was looking for :) > > -- Original Message -- > From: "Alain Baudrez" > To: "mailing list for gambas users" > Sent: 11/8/2013 3:

Re: [Gambas-user] App.Major Version

2013-11-08 Thread Bruce
On Fri, 2013-11-08 at 15:23 +0100, Fabien Bodard wrote: > My turn !! > > Dim aVersion as String[] = scan(sVersion,"*.*.*") > > Print aVersion[0] > > > Work also with split. > Ha! Dim aVersion As String[] = Scan(Application.Version, "*.*.*") Print aVersion[0] = 48 keystrokes Pr

Re: [Gambas-user] App.Major Version

2013-11-08 Thread Riaan Pretorius
thx guys! exactly what i was looking for :) -- Original Message -- From: "Alain Baudrez" To: "mailing list for gambas users" Sent: 11/8/2013 3:11:37 PM Subject: Re: [Gambas-user] App.Major Version >2013/11/8 Bruce > >> On Fri, 2013-11-08 at 10:37 +0100, Alain Baudrez wrote: >> > Hoi,

Re: [Gambas-user] App.Major Version

2013-11-08 Thread Alain Baudrez
2013/11/8 Bruce > On Fri, 2013-11-08 at 10:37 +0100, Alain Baudrez wrote: > > Hoi, > > > > put those in a class > > > > ' Gambas class file : clsVerion > > ' Version Info > > ' > > ' Call as follows: > > ' DIM cVersion as new clsVersion > > ' > > ' Print cVersion.VersionMajor & "." & cVersion.Ver

Re: [Gambas-user] App.Major Version

2013-11-08 Thread Bruce
On Fri, 2013-11-08 at 10:37 +0100, Alain Baudrez wrote: > Hoi, > > put those in a class > > ' Gambas class file : clsVerion > ' Version Info > ' > ' Call as follows: > ' DIM cVersion as new clsVersion > ' > ' Print cVersion.VersionMajor & "." & cVersion.VersionMinor & " Build # " & > cVersion.Bui

Re: [Gambas-user] gambas editor control and the highlight method

2013-11-08 Thread Tobias Boege
On Fri, 08 Nov 2013, Sean wrote: > > Hi Tobi, thanks for the Answer. > > Would it be too much if i request you do show me a Minimum > Working Example of the correct syntax? The > html-highlighter given in the Examples is too complex.. > I perfectly understand that. I once aimed at implementin

Re: [Gambas-user] gambas editor control and the highlight method

2013-11-08 Thread Sean
Hi Tobi, thanks for the Answer. Would it be too much if i request you do show me a Minimum Working Example of the correct syntax? The html-highlighter given in the Examples is too complex.. -- November Webinars for C,

Re: [Gambas-user] gambas editor control and the highlight method

2013-11-08 Thread Tobias Boege
On Fri, 08 Nov 2013, Sean wrote: > want that my program, at a click of the button will do > some highlighting in the text in an editor (a component of > gambas that you can add to a form). > > So, in the form_open() method, i set : > > programEdit.Styles[Highlight.Normal].Color = Color.Red >

Re: [Gambas-user] App.Major Version

2013-11-08 Thread Alain Baudrez
Hoi, put those in a class ' Gambas class file : clsVerion ' Version Info ' ' Call as follows: ' DIM cVersion as new clsVersion ' ' Print cVersion.VersionMajor & "." & cVersion.VersionMinor & " Build # " & cVersion.Build ' Property Read Version ' Full version eg. 1.2.39 P

[Gambas-user] App.Major Version

2013-11-08 Thread Riaan Pretorius
Good Day, I was wondering if the equivalent of App.Major (vb6) exists in Gambas? Example: ' Visual Basic 6.0 Label1.Caption = "Version: " & App.Major & "." & App.Minor & "." _ & App.Revision Riaan -- November Webina

[Gambas-user] gambas editor control and the highlight method

2013-11-08 Thread Sean
want that my program, at a click of the button will do some highlighting in the text in an editor (a component of gambas that you can add to a form). So, in the form_open() method, i set : programEdit.Styles[Highlight.Normal].Color = Color.Red programEdit.Styles[Highlight.Keyword].Color = Co