Re: [Gambas-user] For Each ?WHAT? in Result

2015-01-10 Thread Lewis Balentine
Thank thee ... :-) I did follow that path and I did miss the nuance of the second example. On 01/10/2015 03:04 AM, Caveat wrote: I presume you started here http://gambaswiki.org/wiki/comp/gb.db/result And then clicked on the big obvious link to FOR EACH, arriving here:

Re: [Gambas-user] For Each ?WHAT? in Result

2015-01-10 Thread Caveat
I presume you started here http://gambaswiki.org/wiki/comp/gb.db/result And then clicked on the big obvious link to FOR EACH, arriving here: http://gambaswiki.org/wiki/lang/foreach And then didn't look at the second example... :-P Kind regards, Caveat On 10/01/15 09:52, Lewis Balentine wrote:

[Gambas-user] For Each ?WHAT? in Result

2015-01-10 Thread Lewis Balentine
Result (gb.db) This class represents the result of a SQL request. This class is not creatable. This class acts like a read / write array. This class is *enumerable* with the FOR EACH keyword. Guess this should be obvious but not to me pray tell what type/class does one use to enumerate it

Re: [Gambas-user] For Each ?WHAT? in Result

2015-01-10 Thread Caveat
But the documentation arrived at by following the enumerable link doesn't give a fully working code example, and also doesn't document whether the order of the enumeration is predictable, which we'd better hope it is if you ever decide to use an order by clause :-D I'll see if have time to

Re: [Gambas-user] Column Alignment Property

2015-01-10 Thread Benoît Minisini
Le 10/01/2015 12:54, Lewis Balentine a écrit : I changed my Integers to Longs and set limits on the length of most of the strings. I do have a suggestion if you get around to working on this: add a property to the columns to hold a format$ examples:

Re: [Gambas-user] How do I directly access the child controls in a panel container.

2015-01-10 Thread Jørn Erik Mørne
Hello, One can address a control on another form with fMain.txtHello.Text. This syntax also works for other container objects. I have a form with a panel control. There are several controls within the panel. To avoid naming conflicts I want to keep the panel controls separate from the

Re: [Gambas-user] For Each ?WHAT? in Result

2015-01-10 Thread Lewis Balentine
I does work as expected with the order by clause. On 01/10/2015 06:16 AM, Caveat wrote: But the documentation arrived at by following the enumerable link doesn't give a fully working code example, and also doesn't document whether the order of the enumeration is predictable, which we'd better

Re: [Gambas-user] Issue 594 in gambas: Container Panel Alineamiento

2015-01-10 Thread gambas
Updates: Status: Invalid Comment #1 on issue 594 by benoit.m...@gmail.com: Container Panel Alineamiento https://code.google.com/p/gambas/issues/detail?id=594 Sorry, I can't speak spanish. Please write your bug report in english. -- You received this message because this project is

Re: [Gambas-user] Column Alignment Property

2015-01-10 Thread Lewis Balentine
You and the other members of the mailing list have been very patient, tolerant and helpful. Version 1 is a text file based Gambas console app and is currently serving the immediate need. I am working on version 2 that is database driven with a GUI interface. I think that I shall reserve

Re: [Gambas-user] For Each ?WHAT? in Result

2015-01-10 Thread Tobias Boege
On Sat, 10 Jan 2015, Lewis Balentine wrote: On 01/10/2015 03:04 AM, Caveat wrote: On 10/01/15 09:52, Lewis Balentine wrote: Result (gb.db) This class represents the result of a SQL request. This class is not creatable. This class acts like a read / write array. This class is

Re: [Gambas-user] Column Alignment Property

2015-01-10 Thread Lewis Balentine
My application is sort of a mini-datamanager where the end user determine which tables/fields they need/want to access. The application generates the datasources and dataviews at run time. Each table is displayed in its own tab of a Tabstrip /(small screen shot attached)/. There are two tables

Re: [Gambas-user] Column Alignment Property

2015-01-10 Thread Benoît Minisini
Le 10/01/2015 15:13, Lewis Balentine a écrit : My application is sort of a mini-datamanager where the end user determine which tables/fields they need/want to access. The application generates the datasources and dataviews at run time. Each table is displayed in its own tab of a Tabstrip

Re: [Gambas-user] Column Alignment Property

2015-01-10 Thread Lewis Balentine
I changed my Integers to Longs and set limits on the length of most of the strings. I do have a suggestion if you get around to working on this: add a property to the columns to hold a format$ examples: Dataview.View.Columns[?].Format=mm/dd/ Dataview.View.Columns[?].Format=dd mmm

[Gambas-user] How do I directly access the child controls in a panel container.

2015-01-10 Thread Martin McGlensey
Hello, One can address a control on another form with fMain.txtHello.Text. This syntax also works for other container objects. I have a form with a panel control. There are several controls within the panel. To avoid naming conflicts I want to keep the panel controls separate from the parent

Re: [Gambas-user] Fieldlist output differs (extended)

2015-01-10 Thread Charlie Reinl
Am Samstag, den 10.01.2015, 02:51 +0100 schrieb Benoît Minisini: As for Eval, I don't understand your question. Eval() evaluates Gambas expressions, it has nothing to do with case sensitive by itself. It's the Gambas keyword that are case unsensitive. Salut Benoît, I add the

[Gambas-user] OpenGl - 'Not an Object' - solved

2015-01-10 Thread Francis Payne
Sorry, guys. Finally worked out the issue - I'd redefined 'gl' as an integer deep in some old code - the whole project was converted from VB6 when gl had no meaning. I was searching for gl. (with a dot) to avoid other references inside longer expressions. So panic over.

[Gambas-user] Order By Clause

2015-01-10 Thread Lewis Balentine
Is there any way to sneak an order by clause into a Datasource or Dataview. I did try putting a complete SQL statement in place of the Table name but that results in a read-only result regardless of the value of the Datasource.ReadOnly property. I know I can set the Sort poperty true to allow

Re: [Gambas-user] How do I directly access the child controls in a panel container.

2015-01-10 Thread T Lee Davidson
On 01/10/2015 11:08 AM, Jørn Erik Mørne wrote: Hello, One can address a control on another form with fMain.txtHello.Text. This syntax also works for other container objects. I have a form with a panel control. There are several controls within the panel. To avoid naming conflicts I want

Re: [Gambas-user] How do I directly access the child controls in a panel container.

2015-01-10 Thread Charlie Reinl
Am Samstag, den 10.01.2015, 13:27 -0500 schrieb T Lee Davidson: On 01/10/2015 11:08 AM, Jørn Erik Mørne wrote: Hello, One can address a control on another form with fMain.txtHello.Text. This syntax also works for other container objects. I have a form with a panel control. There

Re: [Gambas-user] How do I directly access the child controls in a panel container.

2015-01-10 Thread T Lee Davidson
On 01/10/2015 01:37 PM, Tobias Boege wrote: On Sat, 10 Jan 2015, T Lee Davidson wrote: On 01/10/2015 11:08 AM, J?rn Erik M?rne wrote: Hello, One can address a control on another form with fMain.txtHello.Text. This syntax also works for other container objects. I have a form with a panel

Re: [Gambas-user] How do I directly access the child controls in a panel container.

2015-01-10 Thread T Lee Davidson
On 01/10/2015 03:33 PM, Tobias Boege wrote: On Sat, 10 Jan 2015, T Lee Davidson wrote: If Panel1's containing Form is FForm, then you can do FForm.Controls[TextBox1] [snip] Thanks for the elucidation, Tobi. But, I must be missing something. FForm.Controls[TextBox1] returns a Control

Re: [Gambas-user] How do I directly access the child controls in a panel container.

2015-01-10 Thread Tobias Boege
On Sat, 10 Jan 2015, T Lee Davidson wrote: If Panel1's containing Form is FForm, then you can do FForm.Controls[TextBox1] to have this access pattern. Since for every non-Form control, there must be a Form somewhere up in the parent chain, it is always an option to go up