Re: [Gambas-user] Clearing data from TextAreas & ListBoxes

2015-03-03 Thread Tobias Boege
igger too that delay the call to the next event loop > > Le 2 mars 2015 21:35, "Tobias Boege" a ??crit : > > > >> On Mon, 02 Mar 2015, John Rose wrote: > >>> On 02/03/15 19:25, Tobias Boege wrote: > >>>> On Mon, 02 Mar 2015, John Ros

[Gambas-user] Tutorial on native component development

2015-03-05 Thread Tobias Boege
Hi list, Ru thought it would be a good idea to have a tutorial on how to set up oneself to write a native Gambas component and then to actually write one. After a marathon session since 10 a.m. today I just completed my attempt at it. It's available over here[0]. Now that I come to think of it, i

Re: [Gambas-user] R: Tutorial on native component development

2015-03-06 Thread Tobias Boege
On Fri, 06 Mar 2015, Julio Sanchez wrote: > Tobias: > > +1 :) > > "If anyone else is eager to do that, I will send the LaTeX sources" > Yes, it would be interesting for being able to translate into other > languages. > Could you share it on google drive? >

Re: [Gambas-user] Top posting (was: Red no entry sign on Debug)

2015-03-09 Thread Tobias Boege
On Mon, 09 Mar 2015, John Rose wrote: > PS I've top posted this time as you are top posting. Tobi requested me > on another query not to do bottom posting. Is top or bottom posting > preferred for this mailing list? I prefer bottom posting and lots of people here do it. Are there any mailing lists

Re: [Gambas-user] Top posting

2015-03-10 Thread Tobias Boege
On Wed, 11 Mar 2015, richard terry wrote: > Personally I like top-posting, some lists I"m on use it. I find it > easier to find out the last thing said rather than having to scroll down > to the bottom of a long post. If the mail headers are up in the top > pain, and the text in the bottom pain

Re: [Gambas-user] Extern library libftd2xx

2015-03-11 Thread Tobias Boege
On Wed, 11 Mar 2015, Ivan Kern wrote: > Hi, > > does anyone have an example of external library > libftd2xx? I can't get data from the USB device. > There was recently a guy here [0] who used that library. Maybe you can ask him. Regards, Tobi [0] http://gambas-club.de/viewtopic.php?f=3&t=481

Re: [Gambas-user] Random access files with fixed-length string

2015-03-11 Thread Tobias Boege
On Tue, 10 Mar 2015, Gian wrote: > Hello everyone, > those coming from the Windows VB, frequently asks how to work with random > access files with fixed-length string. > I created this demo as an explanation and would like to know if you think > right, correct in part or completely wrong. > Thank y

Re: [Gambas-user] Top posting

2015-03-12 Thread Tobias Boege
On Wed, 11 Mar 2015, Fabien Bodard wrote: > Le 11 mars 2015 08:37, "Rolf-Werner Eilert" a > ??crit : > > If someone introduced a new mail text protocol, this might be done with > > tags similar to html. This would leave the text readable in text-only > > mail clients or for the case something gets

Re: [Gambas-user] Problem with Exist & Open functions with filename containing spaces

2015-03-12 Thread Tobias Boege
On Thu, 12 Mar 2015, John Rose wrote: > I have coding of: > sPlainPath = User.Home &/ "plain out" > Print "PlainPath=" & sPlainPath > If Exist(sPlainPath) Then > Print sPlainPath & " exists" > Else > Print sPlainPath & " does not exist" > Endif > hPlain = Open sPlainPath For Inp

Re: [Gambas-user] Problem with Exist & Open functions with filename containing spaces

2015-03-12 Thread Tobias Boege
On Thu, 12 Mar 2015, Tobias Boege wrote: > [...] attached script [...] > This time! -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk #!/usr/bin/gbs3 Public Sub Main() Dim sPath As String = Temp$("with spaces") Dim hFile As Strea

Re: [Gambas-user] Problem with Exist & Open functions with filename containing spaces

2015-03-12 Thread Tobias Boege
On Thu, 12 Mar 2015, John Rose wrote: > On 12/03/15 10:37, Tobias Boege wrote: > > Public Sub Main() > > Dim sPath As String = Temp$("with spaces") > > Dim hFile As Stream > > Dim sLine As String > > > > File.Save(sPath, "some string

Re: [Gambas-user] New feature in Task Class

2015-03-13 Thread Tobias Boege
On Fri, 13 Mar 2015, Beno?t Minisini wrote: > Le 13/03/2015 14:07, Yahoo a ?crit : > > Hello Benoit, > > > > Do you think if it's possible to implement a way to limit a Task to > > use only a number of cpu and better will be to choose witch cpu a > > Task is allowed to use ? > > > > I know that is

Re: [Gambas-user] GridView Row Height

2015-03-14 Thread Tobias Boege
On Sat, 14 Mar 2015, Nikola Rogozarski wrote: > On Sat, Mar 14, 2015 at 4:31 PM, Fabien Bodard wrote: > > Le 14 mars 2015 12:36, "Nikola Rogozarski" a > > ??crit > > : > > > > > > Hello guys! Is there an example of how to setup the height of a row of a > > > GridView, depending on the length of t

Re: [Gambas-user] Interaction With Command Shell

2015-03-16 Thread Tobias Boege
On Mon, 16 Mar 2015, Nigel Verity wrote: > Hi > > I would welcome some advice about interacting with the Linux command shell > from within a Gambas application. > > The requirement is to create a connection with a remote server using SSHFS. > The general syntax for this command is: > > sshfs u

Re: [Gambas-user] Random access files with fixed-length string

2015-03-16 Thread Tobias Boege
On Mon, 16 Mar 2015, Gian wrote: > About gb.settings and gb.xml unfortunately I did not understand what you > suggest me, perhaps to use their instead of the dat file? But how? > If you are creating a new file format for your application, you should, when possible, refrain from using a binary for

Re: [Gambas-user] Interaction With Command Shell

2015-03-16 Thread Tobias Boege
On Mon, 16 Mar 2015, Beno?t Minisini wrote: > Le 16/03/2015 16:31, Tobias Boege a ?crit : > > On Mon, 16 Mar 2015, Nigel Verity wrote: > >> Hi > >> > >> I would welcome some advice about interacting with the Linux command shell > >> from within a Gam

Re: [Gambas-user] Interaction With Command Shell

2015-03-16 Thread Tobias Boege
On Tue, 17 Mar 2015, Beno?t Minisini wrote: > >> I'm automating scp and ssh daily with Gambas, by detecting when the > >> password prompt appears (and the ssh key confirmation question too). > >> > >> It cannot be 100% reliable, because any other program can print > >> "password:" on its standard o

Re: [Gambas-user] Possible error PPA 3.7 Stable

2015-03-19 Thread Tobias Boege
On Thu, 19 Mar 2015, John Rose wrote: > On 18/03/15 12:38, Gian wrote: > > Upon notification by a user of Gambas-it I tried to install the PPA > > stable. > > Seems that we obtained the Trunk. > > See image attached > > > Gambas just upgraded using Stable ppa. Still gives 'Development > Version...'

Re: [Gambas-user] Maskbox mask & text entry

2015-03-19 Thread Tobias Boege
On Thu, 19 Mar 2015, John Rose wrote: > On 18/03/15 11:30, John Rose wrote: > > I have a Maskbox with mask [A-Za-z][A-Za-z]. I noticed that the IDE > > does not show the MaxLength property. I want the user to be able to > > enter lower case & have the entry displayed as upper case for either > > of

Re: [Gambas-user] Maskbox mask & text entry

2015-03-19 Thread Tobias Boege
On Thu, 19 Mar 2015, Tobias Boege wrote: > If you press a key and that is valid input for your current cell, the > corresponding character is put into that cell, *without* advancing the > current cell. > Correction: As Benoit said, this is because you reset the Text in the Change eve

Re: [Gambas-user] gambas wiki

2015-03-21 Thread Tobias Boege
On Sat, 21 Mar 2015, Fabien Bodard wrote: > Gambas wiki is down ? > Yes, "here" too. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -- Dive into the World of Parallel Programming The Go Parallel

Re: [Gambas-user] Ubuntu message

2015-03-22 Thread Tobias Boege
On Sun, 22 Mar 2015, Gian wrote: > Hi Benoit, > I know this has been discussed, and I apologize for repeating. > In Ubuntu if I want to show to a user in a message boloon I change > colors by acting through the HTML commands. > Or I can show him the message with typical "balloon" of Ubuntu: > Dim

Re: [Gambas-user] Issue 616 in gambas: Where do files get installed or downloaded to from software farm

2015-03-24 Thread Tobias Boege
On Tue, 24 Mar 2015, rolf wrote: > Hi, > > > I am unable to find the installed or downloaded projects from the > > software farm, unless they are examples. > > > > WHERE ARE THE FILES DOWNLOADED OR INSTALLED TOO? > > The gods of Gambas decide to hide this for DEVELOPERS in directories > belo

[Gambas-user] Farm: False positive error with "example" software

2015-03-24 Thread Tobias Boege
Hi Benoit, I noticed a false positive error message under these circumstances: - you don't have installed any software from the "example" vendor yet (so there is no "example" directory under "Installed softwares"), - you install / download a software whose vendor is not "example" but has

Re: [Gambas-user] Issue 616 in gambas: Where do files get installed or downloaded to from software farm

2015-03-24 Thread Tobias Boege
On Tue, 24 Mar 2015, Beno?t Minisini wrote: > Le 24/03/2015 15:56, Tobias Boege a ?crit : > > On Tue, 24 Mar 2015, rolf wrote: > >> Hi, > >> > >>>I am unable to find the installed or downloaded projects from the > >>> software farm, unless th

Re: [Gambas-user] Issue 616 in gambas: Where do files get installed or downloaded to from software farm

2015-03-25 Thread Tobias Boege
On Wed, 25 Mar 2015, rolf wrote: > BTW Why is the code from the software farm and the downloadable sourcecode > not > checksum protected? For all possible reasons[0], because it *is* sha256-protected. [0] http://en.wikipedia.org/wiki/Material_conditional#Philosophical_problems_with_material_co

Re: [Gambas-user] Sample component with a form

2015-03-26 Thread Tobias Boege
On Thu, 26 Mar 2015, Roel Touwen wrote: > Hi everyone, > > Has anybody a sample source of a component which holds a form? I'm > trying for two weeks now and I simply don't succeed. > > What I want to do is have form that I can embed in another form (within > a tab). I could use a workspace but

Re: [Gambas-user] IconPanel

2015-04-12 Thread Tobias Boege
On Sun, 12 Apr 2015, Nikola Rogozarski wrote: > oh! sorry for my english! This way, if the property count of iconpanel set > to more than one, in IkonPanel I can put labels, text boxes and other > controls, only the first tab. In other tabs, I can't put controls. > I can confirm that. It occured

Re: [Gambas-user] How do I left justify text in a DataControl

2015-04-12 Thread Tobias Boege
On Sun, 12 Apr 2015, Martin McGlensey wrote: > How do I force a DataControl to display text, that is longer than the > control, as left justified. That is if the control is sized to accept ten > characters, on the form, and the text is twenty characters I want to see > the first ten. Now I see th

Re: [Gambas-user] How do I left justify text in a DataControl

2015-04-13 Thread Tobias Boege
On Sun, 12 Apr 2015, Martin McGlensey wrote: > Tobi, > > Thanks for your response. I have a form with one datasource and twenty two > datacontrols within that datasource. They are used to display name, address, > city, state and other data that fits together logically on one form. Now if > I imple

Re: [Gambas-user] How do I left justify text in a DataControl

2015-04-13 Thread Tobias Boege
On Sun, 12 Apr 2015, Martin McGlensey wrote: > -Original Message- > Message: 1 > Date: Sun, 12 Apr 2015 16:20:59 +0200 > From: Tobias Boege > Subject: Re: [Gambas-user] How do I left justify text in a DataControl > To: mailing list for gambas users > Message-ID: &

Re: [Gambas-user] gambasdoc

2015-04-19 Thread Tobias Boege
On Sun, 19 Apr 2015, zerkowski sur bouquiniste.biz wrote: > gambasdoc.org est inaccessible ? > Seems so. Benoit stated here[0] that the gambasdoc.org wiki would be accessible until at least Mar 2015. Maybe this "at least" bit of time has expired now? You should use gambaswiki.org. Regards, Tobi

[Gambas-user] gb.util: Unit conversions

2015-04-20 Thread Tobias Boege
Hi Benoit, I have a quick feature suggestion for gb.util: when working with components like gb.cairo which partially uses millimeters (e.g. CairoPdfSurface._new) to measure things, it would be nice to have a global module from somewhere official which implements those unit conversions. I am mysel

Re: [Gambas-user] gb.util: Unit conversions

2015-04-25 Thread Tobias Boege
On Sat, 25 Apr 2015, Beno?t Minisini wrote: > Le 20/04/2015 23:28, Tobias Boege a ?crit : > > Hi Benoit, > > > > I have a quick feature suggestion for gb.util: when working with components > > like gb.cairo which partially uses millimeters (e.g. CairoPdfSurface._new

Re: [Gambas-user] gb.util: Unit conversions

2015-04-26 Thread Tobias Boege
On Mon, 27 Apr 2015, adamn...@gmail.com wrote: > On Sun, 26 Apr 2015 09:34:42 +0200 > Charlie Reinl wrote: > > > Am Samstag, den 25.04.2015, 23:13 +0200 schrieb Tobias Boege: > > > On Sat, 25 Apr 2015, Beno?t Minisini wrote: > > > > Le 20/04/2015 23:28, Tobias

Re: [Gambas-user] A question on gb.gui

2015-04-27 Thread Tobias Boege
On Mon, 27 Apr 2015, Charlie Reinl wrote: > Am Sonntag, den 26.04.2015, 14:39 +0200 schrieb Gian: > > Il 24/04/2015 14:23, Gian ha scritto: > > > Hello Benoit, > > > Sorry if I let some criticism on the strategy gb.gui in this email. > > > I state to be old and ignorant (to 16 years (1963) already

Re: [Gambas-user] Buffer Monitoring

2015-04-29 Thread Tobias Boege
On Wed, 29 Apr 2015, Nigel Verity wrote: > Hi > > I'm planning to write an application in Gambas to support a study of the > efficiency of various user interface designs. To do that I will need to > monitor mouse clicks in conjunction with the mouse position, and keyboard > inputs. This is, of

Re: [Gambas-user] How to know is my Form activated or not?

2015-05-02 Thread Tobias Boege
On Sat, 02 May 2015, abbat81 wrote: > In Event I use *Form_Activate()* and *Form_Deactivate()* > > But I need to have boolean Y/N when I ask. > How about Private $bActive As Boolean Public Sub Form_Activate() $bActive = True End Public Sub Form_Deactivate() $bActive = False

[Gambas-user] TextArea and the NUL byte

2015-05-07 Thread Tobias Boege
Hi Benoit, we had a case where someone stumbled upon the fact that TextAreas can't deal properly with strings containing the ASCII NUL. In the attached project, I fill a TextArea with the string "\0some string" and it gives txtArea.Length = 12 String.Len(txtArea.Text) = 0 txtArea.

Re: [Gambas-user] Form Open code skipped when using Form1 = New Form syntax.

2015-05-10 Thread Tobias Boege
On Sun, 10 May 2015, Martin McGlensey wrote: > Hello, > > I have a form (form) that has several controls on it. They are comboboxes, > textboxes and buttons. The comboboxes are initialized in the form open > procedure. > > If I open a new form using "Form1 = New form" and call it from another for

[Gambas-user] Cairo's DrawText

2015-05-22 Thread Tobias Boege
Hi, I'm confused about the output of the attached project. It should print the two lines in the included file to a PDF. As you can see in the Gambas console, the first of the two lines should even fit into the boundary box, the second doesn't. Regardless, I see only the last part of either of the

Re: [Gambas-user] Cairo's DrawText

2015-05-22 Thread Tobias Boege
On Fri, 22 May 2015, Beno?t Minisini wrote: > Le 22/05/2015 19:45, Tobias Boege a ?crit : > >Hi, > > > >I'm confused about the output of the attached project. It should print the > >two lines in the included file to a PDF. > > > >As you can see in th

Re: [Gambas-user] Cairo's DrawText

2015-05-23 Thread Tobias Boege
On Fri, 22 May 2015, Tobias Boege wrote: > On Fri, 22 May 2015, Beno?t Minisini wrote: > > Le 22/05/2015 19:45, Tobias Boege a ?crit : > > >Hi, > > > > > >I'm confused about the output of the attached project. It should print the > > >two lines in

[Gambas-user] Installation on Debian Jessie

2015-05-23 Thread Tobias Boege
Hi, are any Debian people here? I heard of someone on "Debian Jessie 64 bits" who needed, in addition to what is stated in the wiki, to do the following things to compile Gambas from sources: - create a symlink "llvm-config" in PATH which points to a "llvm-config-xx" binary which has a versio

Re: [Gambas-user] Playing dv video files

2015-06-06 Thread Tobias Boege
On Fri, 05 Jun 2015, bill-lancaster wrote: > This code works:- > hProc = Exec ["mplayer", "-fps", 25, "-wid", dwgMoviePlayer.Handle, > User.Home &/ "aa.dv"] > The dv file plays in the drawing area. > But it doesn't work when adding 'For Read Write As "Process"' to the line. > Any ideas would be we

[Gambas-user] TextEditor: Click in empty space

2015-06-06 Thread Tobias Boege
Hi Benoit, when a source file is very short, there is space in the TextEditor control below all the lines. To be sure I'm understood, I attach a picture :-) If you click into that space, nothing happens. What I am used to from other text controls (trying not to sound like [0]) is that it would br

Re: [Gambas-user] TextEditor: Click in empty space

2015-06-07 Thread Tobias Boege
On Sun, 07 Jun 2015, Beno?t Minisini wrote: > Le 06/06/2015 18:54, Tobias Boege a ?crit : > > Hi Benoit, > > > > when a source file is very short, there is space in the TextEditor control > > below all the lines. To be sure I'm understood, I attach a picture :-

Re: [Gambas-user] GAMBAS game binary release (Sylph: Project Miyaji)

2015-06-07 Thread Tobias Boege
On Mon, 08 Jun 2015, Kevin Fishburne wrote: > As Fabien pointed out in a subsequent email, it would be nice to have a > robust game engine class. There's a GAMBAS component, gb.opengl.sge, which > loads and draws Quake II MD2 files. The author (I forget his name...Tobi, > Tobias

Re: [Gambas-user] know if program is compiled

2015-06-14 Thread Tobias Boege
On Sun, 14 Jun 2015, adamn...@gmail.com wrote: > On Sun, 14 Jun 2015 10:19:08 +0200 Marco Ancillotti > wrote: > > Hi all, > > > > is there a way to detect from a gambas program if it's running under the > > ide or is compiled into a .gambas file ? > > > > thank's in advance. > > > > #If Exec

Re: [Gambas-user] new Editor in the IDE

2015-06-14 Thread Tobias Boege
On Sun, 14 Jun 2015, Charlie Reinl wrote: > Salut Beno??t, > > I observed since I use the new Editor that sometimes the mouse do not > work anymore. > You cant change the line, not mark a word or words, menus open etc. > What I did not check yet, is if I can scroll and if I can change to > another

[Gambas-user] Wiki's @{syntax} command is wrong

2015-06-16 Thread Tobias Boege
Hi, the @{syntax} command gives wrong output for the Polygon._put() method in gb.clipper[0], as it reports the syntax to be hPolygon [ Point As PointF ] = hPointF but Polygon is indexed with integers 0, ..., Polygon.Max. There seems to be nothing I can do about it as I don't know the wiki scri

[Gambas-user] IDE: signature doubled for Rect._new()

2015-06-17 Thread Tobias Boege
Hi Benoit, when I type "New Rect(", the IDE shows the signature of Rect's constructor doubled (s. attached screenshot). I have gb.qt4 and gb.clipper enabled which both have a Rect class. Does inheritance of the parent's constructor arguments cause this? What is the intended outcome if I specify bo

Re: [Gambas-user] Wiki's @{syntax} command is wrong

2015-06-18 Thread Tobias Boege
On Thu, 18 Jun 2015, Beno?t Minisini wrote: > Le 16/06/2015 18:23, Tobias Boege a ?crit : > > Hi, > > > > the @{syntax} command gives wrong output for the Polygon._put() method > > in gb.clipper[0], as it reports the syntax to be > > > >hPolygon [

[Gambas-user] Clipper counter-intuitivities

2015-06-18 Thread Tobias Boege
Hi Benoit, the attached project shows two strange behaviours of Polygon from the gb.clipper component. (1) Polygon._get() returns a new PointF object created on the fly from internal data. However, people would think that hPolygon[0].X = 20 should modify the zeroth point's x c

[Gambas-user] Three problems in the IDE (two of them Editor)

2015-06-18 Thread Tobias Boege
Hi Benoit, two things about the editor: (1) If I write a semicolon into the first column of an otherwise empty line and click behind the semicolon on the line, the cursor always goes *before* the semicolon, never behind (where it should actually be). Rounding errors? (I use the de

[Gambas-user] Compiler segfaults on gb.eval.highlight?

2015-06-19 Thread Tobias Boege
Hi, now this is strange. I am compiling the latest revision and the only component which can not be compiled is gb.eval.highlight. Yesterday, it went all fine. Looking closer, I see: $ cd comp/ $ sudo make install make[1]: Entering directory '/home/tab/src/gambas3/comp' Installing the com

Re: [Gambas-user] Three problems in the IDE (two of them Editor)

2015-06-19 Thread Tobias Boege
On Fri, 19 Jun 2015, Rolf-Werner Eilert wrote: > > Am 19.06.2015 09:11, schrieb Beno?t Minisini: > > Le 19/06/2015 02:07, Beno?t Minisini a ?crit : > >>>(2) I spent so much time deleting superfluous whitespace from other > >>> people's > >>>code, I fear it has become an addiction. But

Re: [Gambas-user] Compiler segfaults on gb.eval.highlight?

2015-06-19 Thread Tobias Boege
On Fri, 19 Jun 2015, Beno?t Minisini wrote: > Le 19/06/2015 09:40, Tobias Boege a ?crit : > > Hi, > > > > now this is strange. I am compiling the latest revision and the only > > component which can not be compiled is gb.eval.highlight. Yesterday, > > it wen

Re: [Gambas-user] How to tell what invoked this program?

2015-06-27 Thread Tobias Boege
On Sat, 27 Jun 2015, adamn...@gmail.com wrote: > This is driving me insane! > > How can I tell at runtime if the executable was invoked manually by a user or > automatically by a scheduler, e.g. cron, anacron, at etc. > > Can't use the process userid as it may have been invoked as a user cron jo

Re: [Gambas-user] IDE: signature doubled for Rect._new()

2015-06-27 Thread Tobias Boege
On Thu, 18 Jun 2015, Beno?t Minisini wrote: > Le 18/06/2015 08:29, Tobias Boege a ?crit : > > Hi Benoit, > > > > when I type "New Rect(", the IDE shows the signature of Rect's constructor > > doubled (s. attached screenshot). I have gb.qt4 and gb.clippe

Re: [Gambas-user] Clipper counter-intuitivities

2015-06-27 Thread Tobias Boege
On Fri, 19 Jun 2015, Beno?t Minisini wrote: > Le 18/06/2015 20:38, Tobias Boege a ?crit : > > Hi Benoit, > > > > the attached project shows two strange behaviours of Polygon from the > > gb.clipper component. > > > > (1) Polygon._get() returns a ne

Re: [Gambas-user] IDE: signature doubled for Rect._new()

2015-06-27 Thread Tobias Boege
On Sat, 27 Jun 2015, Beno?t Minisini wrote: > At the moment, I'm playing with the joyful world of DBus... > Yes, I saw that... very briefly. There sure are people who love overlong lines, but I'm not one of them. --8< Even

Re: [Gambas-user] i Build a RPM package but...

2015-07-12 Thread Tobias Boege
On Sun, 12 Jul 2015, tsukuba GIMP user wrote: > music = application.Path & "/.hidden/music1.mp3" > this application.path is /usr/bin/.hidden or /usr/share/.hidden?(and i want > to change /.hidden to /.musicfiles) > ??my program in debug it's working but if build the RPM and I install it's > not w

Re: [Gambas-user] i Build a RPM package but...

2015-07-12 Thread Tobias Boege
On Sun, 12 Jul 2015, tsukuba GIMP user wrote: > but if use "music = application.Path & "/music1.mp3"" when i build RPM > package the file"/music1.mp3" will be added or not added? > (and i try use music = application.patch & "music1.mp3" it's will not working > but "/music1.mp3" is working) > Yo

Re: [Gambas-user] Array.Add question

2015-07-15 Thread Tobias Boege
On Wed, 15 Jul 2015, Rolf-Werner Eilert wrote: > Sometimes... ok: Never done this before, so I just ask: > > Dim sTest as String[0,0] > > sTest.Add("Hello", "World") > > Where is "Hello" now? At 0,0 or 1,1? Or: Which dimension is added? > > Is that possible - or are multi-dimensional arrays not

Re: [Gambas-user] Using a Struct

2015-07-16 Thread Tobias Boege
On Thu, 16 Jul 2015, Rolf-Werner Eilert wrote: > Never used a Struct, and now playing around with it I find the help > texts cannot help me. This is what I tried: > > Public Struct Hund >Wau As String > End Struct > > Public Sub Button3_Click() > Dim Wauwau As New Hund > > Wauwau.Wau =

Re: [Gambas-user] Using a Struct

2015-07-16 Thread Tobias Boege
On Thu, 16 Jul 2015, Rolf-Werner Eilert wrote: > Randall, > > Thank you for making that clear. Is it possible to make something like > an array out of a whole structure? What would this code look like? > Yes, you can use a Struct just as you use classes. I believe I sent you a link yesterday wh

[Gambas-user] Of keyword?

2015-07-22 Thread Tobias Boege
Hi Benoit, purely out of curiosity: following a typo, I noticed that the "Of" keyword is highlighted in the IDE. I saw that it is indeed listed in System.Keywords (gb.eval) and in main/share/gb_reserved_keyword.h, but I can't think of a syntactic element where it is used. I looked at the Language

Re: [Gambas-user] R: This is a test

2015-07-22 Thread Tobias Boege
On Wed, 22 Jul 2015, Fabien Bodard wrote: > same here ... :-( > > > 2015-07-22 16:03 GMT+02:00 Ru Vuott : > > Hello Beno??t, > > > > well, I received this your e-mail, but I have to say when I try to update > > my Gambas via SVN, I receive this message again: > > > > svn: E000111: Unable to conn

Re: [Gambas-user] New Gambas bug tracker (alpha)

2015-07-24 Thread Tobias Boege
On Fri, 24 Jul 2015, Beno??t Minisini wrote: > Hi, > > As sourceforge was down for a week, I decided to start implementing a bug > tracker in Gambas for Gambas, based on the software I develop for the > company I'm working in. > > You will find a very alpha version of the bug tracker there: > >

Re: [Gambas-user] New Gambas bug tracker (alpha)

2015-07-24 Thread Tobias Boege
On Fri, 24 Jul 2015, Tobias Boege wrote: > I was about to comment that the captchas look way too easy to be effective > but as I was trying to register, I failed at least ten of them, and then I > gave up. Is the captcha validation correctly implemented? > Forget about that. I have

Re: [Gambas-user] New Gambas bug tracker (alpha)

2015-07-25 Thread Tobias Boege
On Sat, 25 Jul 2015, Beno?t Minisini wrote: > Le 24/07/2015 12:48, Tobias Boege a ?crit : > > On Fri, 24 Jul 2015, Tobias Boege wrote: > >> I was about to comment that the captchas look way too easy to be effective > >> but as I was trying to register, I failed at le

[Gambas-user] Bugtracker protocol

2015-07-25 Thread Tobias Boege
Hi Benoit, for my command line bugtracker client, I have written some kind of ncurses interface today which is at least able to fetch the session cookie after logging in by now. Then I was digging around further to see how to retrieve some bug reports for display. My questions are: - Is there,

Re: [Gambas-user] Bugtracker protocol

2015-07-25 Thread Tobias Boege
On Sat, 25 Jul 2015, Beno?t Minisini wrote: > Le 25/07/2015 17:26, Tobias Boege a ?crit : > > Hi Benoit, > > > > for my command line bugtracker client, I have written some kind of > > ncurses interface today which is at least able to fetch the session > &g

Re: [Gambas-user] BugTracker framework HTTP protocol documentation

2015-07-25 Thread Tobias Boege
On Sat, 25 Jul 2015, Beno??t Minisini wrote: > It's Gambas wiki markdown (an older version, but it should be ok). > > Of course, it's written in french. :-) > Thank you very much! Not for nothing did I have French classes for six years. > Note: "Guygle" is the name of the framework. It will cha

Re: [Gambas-user] SVN defunxit ?

2015-07-26 Thread Tobias Boege
On Sun, 26 Jul 2015, Ru Vuott wrote: > Hi, > now I have tried again with SVN and I obtain this message: > > " svn: E160006: No such revision 7187 " > > ??? > I do not remember this kind of notice. Am I wrong ? > I was able to update a few seconds. But the revision I was brought to was #7186,

[Gambas-user] Extensible Image Viewer

2015-07-27 Thread Tobias Boege
Hi list, I have written (and uploaded to the software farm) an image viewer in Gambas. But wait: it's an *extensible* image viewer. If you write the first letter of the important words after one another you get "Geiv" which is the project's name... :-| Extensibility is accomplished by a plugin sy

Re: [Gambas-user] Extensible Image Viewer

2015-07-29 Thread Tobias Boege
On Tue, 28 Jul 2015, Tobias Boege wrote: > Extensibility is accomplished by a plugin system (the base code for this > is also in the software farm for some days now, it's called "Plugins"). > It's a bit of a hack but works nicely for my purposes. > I tried to

Re: [Gambas-user] Print SizeOf(t) 't is a string

2015-07-29 Thread Tobias Boege
On Wed, 29 Jul 2015, nando wrote: > Dim t As String > > Print SizeOf(t) > Type mismatch: wanted integer, got string instead > > 'Sizeof also errors on a Stucture > > Ubuntu 14.04LTS > Gambas 3.7.1 > Do you realise that you were replying to a totally unrelated thread from July 2013? Create a n

Re: [Gambas-user] Extensible Image Viewer

2015-07-29 Thread Tobias Boege
On Wed, 29 Jul 2015, Beno?t Minisini wrote: > Le 29/07/2015 19:13, Tobias Boege a ?crit : > > On Tue, 28 Jul 2015, Tobias Boege wrote: > >> Extensibility is accomplished by a plugin system (the base code for this > >> is also in the software farm for some day

[Gambas-user] New wiki stylesheet

2015-07-30 Thread Tobias Boege
Hi Benoit, I heard complaints that the new wiki style has - a too small font and - that the colours are not as "appealing" as before. While the first could be easy to fix, I'm not sure about the second. Has anyone opinions? Regards, Tobi -- "There's an old saying: Don't change anything...

Re: [Gambas-user] about gambas3 3.8.0 in archlinux-like(manjaro) problem

2015-08-03 Thread Tobias Boege
On Mon, 03 Aug 2015, tsukuba GIMP user wrote: > because manjaro pacman only have 3.7.1 version gambas > so i try goto gambas website download the tar.bz2 package to install gambas > 3.8.0 > > but when i in console run ./reconf-all then console will be always loop in > > > Unescaped left brace

Re: [Gambas-user] Array Resize limits

2015-08-20 Thread Tobias Boege
On Thu, 20 Aug 2015, martin p cristia wrote: > Hi: > > I need a huge array of Floats, use: > > longNumber = 4 ' 400M * 8bytes = 3.2GB > > Resize fArray[longNumber] ' this gives no error !!! > > > fArray[1] = 1000 ' this gives Out of Bounds > > workaround? > How does the code real

Re: [Gambas-user] Multidimensional dynamic array basics

2015-08-21 Thread Tobias Boege
On Fri, 21 Aug 2015, Kevin Fishburne wrote: > On 08/21/2015 12:00 AM, Kevin Fishburne wrote: > > On Wed, Aug 19, 2015 at 9:22 AM, Kevin Fishburne < > > kevinfishbu...@eightvirtues.com> wrote: > > > >> I need to know how to declare, initialize and add elements to a > >> two-dimensional dynamic array

[Gambas-user] Segfault with certain array sizes

2015-08-21 Thread Tobias Boege
Hi Benoit (or Adrien, as I've seen you are a good substitute :-)), while testing a project for a thread by martin p cristia yesterday, I saw that segfaults could occur when allocating an array of certain size. Use the attached project to create a Float[] of different numbers of elements. Over here

Re: [Gambas-user] Segfault with certain array sizes

2015-08-21 Thread Tobias Boege
On Fri, 21 Aug 2015, Beno?t Minisini wrote: > Le 21/08/2015 10:04, Tobias Boege a ?crit : > > Hi Benoit (or Adrien, as I've seen you are a good substitute :-)), > > > > while testing a project for a thread by martin p cristia yesterday, I saw > > that segfaults coul

Re: [Gambas-user] Gambas Website Mockups

2015-08-22 Thread Tobias Boege
On Sat, 22 Aug 2015, Adrien Prokopowicz wrote: > (Re-sending because attached files were too big for Sourceforge) > > Hi everyone, > > As you may know, Beno??t asked at the beginning of the month if some people > could think about redesigning the Gambas website. > > As i have some spare time, I

Re: [Gambas-user] Gambas Website Mockups

2015-08-22 Thread Tobias Boege
On Sat, 22 Aug 2015, Adrien Prokopowicz wrote: > > Great! It is possible to have a version without one pixel frames and > > borders? :-) > > > > Here is an alternative version. > Where? :-) -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk

Re: [Gambas-user] New bug tracker is beta version!

2015-08-24 Thread Tobias Boege
On Sun, 23 Aug 2015, Beno??t Minisini wrote: > Note: this bugtracker is based on the software I developed in Gambas for > the company I'm working for. > > I asked my boss that the part of the code used by the new bug tracker > becomes free software. He agreed, but now I will have to make the spl

Re: [Gambas-user] [Gambas Bug Tracker] Bug #704: Format does not handle time separator correctly

2015-08-28 Thread Tobias Boege
On Fri, 28 Aug 2015, Jussi Lahtinen wrote: > The point was, how do I test whether Format function works in some other > language than what I'm currently using? > Month names are not any bigger problem than the separators. How do I know > which is the correct separator? > (Sorry, I haven't really

[Gambas-user] Interview reminder

2015-09-03 Thread Tobias Boege
Hi list, I thought it may be worth reminding of On Wed, 10 Jun 2015, Beno??t Minisini wrote: > I will be interviewed in September on twit.tv during 45 minutes to talk > about Gambas (http://gambas.sourceforge.net). twit.tv is a famous > Internet Californian TV specialized in technology, that has

Re: [Gambas-user] Gambas was live on Twitch

2015-09-09 Thread Tobias Boege
On Wed, 09 Sep 2015, Kevin Fishburne wrote: > The actual mechanics for loading the assets are Tobias Boege's > ObjModel.class for loading Wavefront OBJ files (3D models) Are you sure it's my code? I don't even know what a Wavefront is :-) But I haven't found any ment

Re: [Gambas-user] Code challenge

2015-09-12 Thread Tobias Boege
On Sat, 12 Sep 2015, Moviga Technologies wrote: > > > I just had an idea :) How about setting up a weekly or monthly (or every > other week?) Gambas code challenge? It could be coding a program to do a > certain task, or a program that has to use certain features of Gambas, > it could be modifyi

Re: [Gambas-user] Problem with revision #7305

2015-09-14 Thread Tobias Boege
On Sun, 13 Sep 2015, Ru Vuott wrote: > I tried with new rev. #7306, but nothing has changed. > Then I tried restoring rev. #7304, strangely the problem remained. () > > Now I'm re-installing all Gambas sources... hoping. > To add my experience: I updated my local copy to #7309 a moment ago.

Re: [Gambas-user] Project templates

2015-09-22 Thread Tobias Boege
On Sat, 19 Sep 2015, Adrien Prokopowicz wrote: > Le Sat, 19 Sep 2015 03:51:01 +0200, Beno??t Minisini > a ??crit: > > > Le 19/09/2015 03:26, Adrien Prokopowicz a ??crit : > >> Le Fri, 18 Sep 2015 13:12:49 +0200, Beno??t Minisini > >> a ??crit: > >> > >>> Le 18/09/2015 09:45, Jorge Carri??n a ?

Re: [Gambas-user] Project templates

2015-09-25 Thread Tobias Boege
On Fri, 25 Sep 2015, adamn...@gmail.com wrote: > > Project templates are just normal projects that are stored: > > > > - In '/usr/share/gambas3/template' : they are the default templates > > provided with the Gambas sources. (Don't forget to issue a ./reconf && > > ./configure -C if you compile

Re: [Gambas-user] Return Value of Date() function

2015-09-25 Thread Tobias Boege
On Fri, 25 Sep 2015, emanuele sottocorno wrote: > As stated in the wiki the Date Function should return a date without its > time component. > http://gambaswiki.org/wiki/cat/time > > But: Print Date(Now) ---> 25/09/2015 00:00:00 > > Is it by design? > The Date() function returns data of type Da

Re: [Gambas-user] Gambas3, ServerSocket and SSL support

2015-09-25 Thread Tobias Boege
On Fri, 25 Sep 2015, Alexie wrote: > Hi All, > > Gambas3 has a lot of networking features, including acting like a (Web) > Server. Only thing what is lacking is SSL support and IPv6 (separate topic > :-)) ... I made some code for DomotiGa, to support SSL in the ServerSocket. > I basically create a

Re: [Gambas-user] Return Value of Date() function

2015-09-28 Thread Tobias Boege
On Mon, 28 Sep 2015, Rolf-Werner Eilert wrote: > > Am 25.09.2015 14:44, schrieb Tobias Boege: > > On Fri, 25 Sep 2015, emanuele sottocorno wrote: > >> As stated in the wiki the Date Function should return a date without its > >> time component. > >&

Re: [Gambas-user] Question about TabStrip (or TabPanel)

2015-09-28 Thread Tobias Boege
On Mon, 28 Sep 2015, Matti wrote: > Every Tab of TabStrip has an own "Text" property. > Wouldn't it be useful to have a "Tag" property, too, for each Tab, instead of > just one "Tag" for the whole control? > My first attempts with TabStrip always end in needing to assign something > like 'URL' or

<    1   2   3   4   5   6   7   8   9   10   >