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, F

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] 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 >

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 = 100

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 wi

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 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 the main windows

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 1

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,

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 fo

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 t

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" 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 Krisztián > > >

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

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

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 > > 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 >

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) o

Re: [Gambas-user] accessing mdb files

2013-08-27 Thread Fernando
On Aug 26, 2013 21:34 "Willy Raets" 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 what I did based on

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] O

[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 option

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-

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 > 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 sour

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=Ubunt

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 > On Mon, 26 Aug 2013, Fabien Bodard wrote: > > never use public control > > Why? > > >

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=e