[Gambas-user] Gridview Mode

2013-08-27 Thread Shane
I am unable to set the Gridview Mode Property in the IDE I get Incorrect Property Value (not an Object) [System] OperatingSystem=Linux Kernel=3.8.0-29-generic Architecture=x86_64 Distribution=Ubuntu 13.04 Desktop=XFCE Theme=QGtk Language=en_AU.UTF-8 Memory=3808M [Libraries]

Re: [Gambas-user] Gridview Mode

2013-08-27 Thread Tobias Boege
On Tue, 27 Aug 2013, Shane wrote: I am unable to set the Gridview Mode Property in the IDE I get Incorrect Property Value (not an Object) [System] OperatingSystem=Linux Kernel=3.8.0-29-generic Architecture=x86_64 Distribution=Ubuntu 13.04 Desktop=XFCE Theme=QGtk Language=en_AU.UTF-8

Re: [Gambas-user] How to return a event from an embedded sub form

2013-08-27 Thread Fabien Bodard
It's a bad programming use... and gambas was not drawn for that. The correct and more efficient way is the one i say.. The ide for exemple have no one public ctl. 2013/8/26 Tobias Boege tabo...@gmail.com On Mon, 26 Aug 2013, Fabien Bodard wrote: never use public control Why?

Re: [Gambas-user] Gridview Mode

2013-08-27 Thread Shane
On 27/08/13 17:00, Tobias Boege wrote: On Tue, 27 Aug 2013, Shane wrote: I am unable to set the Gridview Mode Property in the IDE I get Incorrect Property Value (not an Object) [System] OperatingSystem=Linux Kernel=3.8.0-29-generic Architecture=x86_64 Distribution=Ubuntu 13.04

Re: [Gambas-user] hConnection = New Connection ( [ DatabaseURL As String ] )

2013-08-27 Thread Fabien Bodard
And then if you configure the connection ide you can use : Connections[Connection1].Open() 2013/8/26 Tobias Boege tabo...@gmail.com On Mon, 26 Aug 2013, Bruce wrote: What syntax for DatabaseURL As String? I'm trying to create a connection to an SQLite db in a different gambas project

Re: [Gambas-user] Gridview Mode

2013-08-27 Thread Tobias Boege
On Tue, 27 Aug 2013, Shane wrote: On 27/08/13 17:00, Tobias Boege wrote: On Tue, 27 Aug 2013, Shane wrote: I am unable to set the Gridview Mode Property in the IDE I get Incorrect Property Value (not an Object) [System] OperatingSystem=Linux Kernel=3.8.0-29-generic

[Gambas-user] List of Open Forms?

2013-08-27 Thread Alexie
Hi All, Gambas allows me to open multiple forms within the same application, this works great. Only when i try to quit the application, all forms need to be manually closed too ;-( Is there an option to retrieve the list of opened forms (then i can call the .close option myself) or another

Re: [Gambas-user] Gridview Mode

2013-08-27 Thread Shane
On 27/08/13 17:48, Tobias Boege wrote: On Tue, 27 Aug 2013, Shane wrote: On 27/08/13 17:00, Tobias Boege wrote: On Tue, 27 Aug 2013, Shane wrote: I am unable to set the Gridview Mode Property in the IDE I get Incorrect Property Value (not an Object) [System] OperatingSystem=Linux

Re: [Gambas-user] accessing mdb files

2013-08-27 Thread Fernando
On Aug 26, 2013 21:34 Willy Raets wi...@earthshipbelgium.be wrote: I made a small example project that makes a connection to a .mdb This is how it is possible (I only tested the connection, not reading in tables or changing any records): perhaps you missed my initial email, that's

Re: [Gambas-user] List of Open Forms?

2013-08-27 Thread Kende Krisztián
Hi All, Gambas allows me to open multiple forms within the same application, this works great. Only when i try to quit the application, all forms need to be manually closed too ;-( Is there an option to retrieve the list of opened forms (then i can call the .close option myself) or

Re: [Gambas-user] List of Open Forms?

2013-08-27 Thread Alexie
Thanks for the quick answer and i will try it out tonight ... I thought it would be much more complex :-) 2013/8/27 Kende Krisztián n...@freemail.hu Hi All, Gambas allows me to open multiple forms within the same application, this works great. Only when i try to quit the application,

Re: [Gambas-user] Gridview Mode

2013-08-27 Thread Tobias Boege
On Tue, 27 Aug 2013, Shane wrote: On 27/08/13 17:48, Tobias Boege wrote: On Tue, 27 Aug 2013, Shane wrote: On 27/08/13 17:00, Tobias Boege wrote: On Tue, 27 Aug 2013, Shane wrote: I am unable to set the Gridview Mode Property in the IDE I get Incorrect Property Value (not an Object)

Re: [Gambas-user] Gridview Mode

2013-08-27 Thread Shane
On 27/08/13 18:52, Tobias Boege wrote: On Tue, 27 Aug 2013, Shane wrote: On 27/08/13 17:48, Tobias Boege wrote: On Tue, 27 Aug 2013, Shane wrote: On 27/08/13 17:00, Tobias Boege wrote: On Tue, 27 Aug 2013, Shane wrote: I am unable to set the Gridview Mode Property in the IDE I get Incorrect

Re: [Gambas-user] List of Open Forms?

2013-08-27 Thread Fabien Bodard
You can define the main windows Application.main= me Then if you close this form it will close all others Le 27 août 2013 10:47, Alexie uale...@gmail.com a écrit : Thanks for the quick answer and i will try it out tonight ... I thought it would be much more complex :-) 2013/8/27 Kende

Re: [Gambas-user] Gridview Mode

2013-08-27 Thread Shane
On 27/08/13 20:02, Shane wrote: On 27/08/13 18:52, Tobias Boege wrote: On Tue, 27 Aug 2013, Shane wrote: On 27/08/13 17:48, Tobias Boege wrote: On Tue, 27 Aug 2013, Shane wrote: On 27/08/13 17:00, Tobias Boege wrote: On Tue, 27 Aug 2013, Shane wrote: I am unable to set the Gridview Mode

Re: [Gambas-user] List of Open Forms?

2013-08-27 Thread Kende Krisztián
You can define the main windows Application.main= me Unknown symbol 'main' in class 'Application' -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for

Re: [Gambas-user] Gridview Mode

2013-08-27 Thread Tobias Boege
On Tue, 27 Aug 2013, Shane wrote: On 27/08/13 20:02, Shane wrote: On 27/08/13 18:52, Tobias Boege wrote: On Tue, 27 Aug 2013, Shane wrote: On 27/08/13 17:48, Tobias Boege wrote: On Tue, 27 Aug 2013, Shane wrote: On 27/08/13 17:00, Tobias Boege wrote: On Tue, 27 Aug 2013, Shane wrote:

Re: [Gambas-user] Gridview Mode

2013-08-27 Thread Shane
On 27/08/13 20:25, Tobias Boege wrote: On Tue, 27 Aug 2013, Shane wrote: On 27/08/13 20:02, Shane wrote: On 27/08/13 18:52, Tobias Boege wrote: On Tue, 27 Aug 2013, Shane wrote: On 27/08/13 17:48, Tobias Boege wrote: On Tue, 27 Aug 2013, Shane wrote: On 27/08/13 17:00, Tobias Boege wrote:

Re: [Gambas-user] List of Open Forms?

2013-08-27 Thread Ru Vuott
Application.MainWindow = Me so, it works. Mar 27/8/13, Kende Krisztián n...@freemail.hu ha scritto: Oggetto: Re: [Gambas-user] List of Open Forms? A: gambas-user@lists.sourceforge.net Data: Martedì 27 agosto 2013, 12:24 You can define

Re: [Gambas-user] List of Open Forms?

2013-08-27 Thread Kende Krisztián
Application.MainWindow = Me so, it works. Yeah, but it is not clear: Static Property MainWindow As Window RETURNS the main window of the application. The main window is the FIRST CREATED WINDOW or form in your application. Closing the main window implies closing all other opened

Re: [Gambas-user] List of Open Forms?

2013-08-27 Thread Ru Vuott
I tried this simple code: Private w As Window Public Sub Form_Open() With w = New Window .W = 100 .H = 100 .X = 0 .Y = 0 .Show End With With w = New Window .W = 100 .H = 100 .X = 200 .Y = 100 .Show End With With w = New Window .W =

Re: [Gambas-user] List of Open Forms?

2013-08-27 Thread Tobias Boege
On Tue, 27 Aug 2013, Kende Kriszti??n wrote: Application.MainWindow = Me so, it works. Yeah, but it is not clear: Static Property MainWindow As Window RETURNS the main window of the application. The main window is the FIRST CREATED WINDOW or form in your application.

Re: [Gambas-user] List of Open Forms?

2013-08-27 Thread Kende Krisztián
I edited the docs accordingly. Did I get all your points? Regards, Tobi Oh, thanks. But the main window is the first created window is not true. Because if Print Application.MainWindow then see nothing, and if closing the first created window then secondary is not closed.

Re: [Gambas-user] hConnection = New Connection ( [ DatabaseURL As String ] )

2013-08-27 Thread paulwheeler
Bruce and Fabien, My email a few days back gave the code that I am using to open sqlite databases. That code opens a db in any directory you have access to. Is there something I am not understanding about Bruce's question? The code is attached. paul On 08/27/2013 12:42 AM,