Re: [Gambas-user] Questions about SQLIte and Data Objects

2012-09-05 Thread acidblue
Benoît Minisini wrote: > > Le 10/08/2012 01:34, acidblue a écrit : >> >> I noticed when i use 'datetime' as a type in sqlite it also adds a time >> at >> the end the date: >> 8/9/2012 00:00:00 when displayed in a dataview box. >> >> Is there a way to NOT display the time, just the date? > > I

Re: [Gambas-user] Changing text color in dataBrowser or Viewer

2012-09-05 Thread rocko
On Thu, 2012-09-06 at 01:08 +0200, Benoît Minisini wrote: > Le 05/09/2012 21:40, rocko a écrit : > > Can I change the text color in a data object like a browser or viewer? > > > > I think you are looking for the DataView / DataBrowser "Data" event, > that works the same way as in GridView. > > R

Re: [Gambas-user] Changing text color in dataBrowser or Viewer

2012-09-05 Thread Benoît Minisini
Le 05/09/2012 21:40, rocko a écrit : > Can I change the text color in a data object like a browser or viewer? > I think you are looking for the DataView / DataBrowser "Data" event, that works the same way as in GridView. Regards, -- Benoît Minisini

[Gambas-user] Column and Row Properties in DataView?

2012-09-05 Thread rocko
Can I a DataViewer or Browser like a GridView? What I mean is this , can I use the .Column and .Row properties in a Grid View also In a DataView? -- rocko -- Live Security Virtual Conference Exclusive live event will

Re: [Gambas-user] Frame Borders not displaying correctly

2012-09-05 Thread rocko
Changing the theme in Gnome does change how the frames are displayed. On Wed, 2012-09-05 at 21:36 +0200, M. Cs. wrote: > Try to set the components to the gb.gtk rather than using gb.qt. It will > give you the old fashioned look. But beware! I'm not sure that gb.qt and > gb.gtk dependencies are 10

Re: [Gambas-user] Gambas3 Libraries problem -> Gambas 3 bug or OS distro related?

2012-09-05 Thread Willy Raets
On wo, 2012-09-05 at 11:17 +0100, John Rose wrote: > I have removed the jewishheritage .deb package using Synaptic. I have > installed the jewishheritage .deb package (generated using IDE's 'Make - > Installation package menu entry. Attached is a screenshot showing > reference to /usr/bin/jewishher

Re: [Gambas-user] Scrollbars

2012-09-05 Thread rocko
My scrollbar does not display at all, it is set to visible=true. It is on the FMain form, the form does have spacing and a margin, maybe the padding setting is too high I'll mess with it and see. On Wed, 2012-09-05 at 21:28 +0200, M. Cs. wrote: > You can have a ScrollView component which is a cont

[Gambas-user] Changing text color in dataBrowser or Viewer

2012-09-05 Thread rocko
Can I change the text color in a data object like a browser or viewer? Say I need to changed the text color of as 'daysleft' field. Can I do Something like: If sResult!daysLeft < 22 Then DataBrowser1.Column.Foreground = Green And to do all the entries in the 'daysLeft field I could do a

Re: [Gambas-user] Frame Borders not displaying correctly

2012-09-05 Thread M. Cs.
Try to set the components to the gb.gtk rather than using gb.qt. It will give you the old fashioned look. But beware! I'm not sure that gb.qt and gb.gtk dependencies are 100% compatible! I found it better to use gb.qt since it feels more stable. Csaba > > -

Re: [Gambas-user] Frame Borders not displaying correctly

2012-09-05 Thread M. Cs.
What does happen when you change the theme of GNOME? I think this may be connected with the theme used, but I'm not the developer of the component. Csaba 2012/9/5 rocko > Say what? > Really? > I prefer the old fashioned way, with the borders of the frame all > around. > Is there a way to change

Re: [Gambas-user] Scrollbars

2012-09-05 Thread M. Cs.
You can have a ScrollView component which is a container itself. You can also have a ScrollBar which is shown unless you set the Visible property to false. I have no problems maximizing the window: the ScrollBar is shown properly. Csaba 2012/9/5 rocko > If I put a scrollbar on a form, then run

Re: [Gambas-user] Frame Borders not displaying correctly

2012-09-05 Thread rocko
Say what? Really? I prefer the old fashioned way, with the borders of the frame all around. Is there a way to change this? On Wed, 2012-09-05 at 21:21 +0200, M. Cs. wrote: > This is the correct look of the frames when using KDE, and probably with > the GNOME too. It isn't error. > > Csaba > > 20

Re: [Gambas-user] Frame Borders not displaying correctly

2012-09-05 Thread M. Cs.
This is the correct look of the frames when using KDE, and probably with the GNOME too. It isn't error. Csaba 2012/8/29 rocko > Using Gambas 3.2.1 > > The frame container is not displaying correctly. > The sides of the border are fading about midway and are > completely absent at the bottom. >

[Gambas-user] DataControl as Text Area

2012-09-05 Thread rocko
Can I use a datacontrol as a text area? I have a SQLite database with a 'notes' field(128chars), I am using datacontrols to add and edit data to the database. But when i try to use a datacontrol as a text area it doesn't display the text like a text area does, text is displayed only in the center

Re: [Gambas-user] Display only some fields in data View

2012-09-05 Thread rocko
On Tue, 2012-09-04 at 11:46 -0700, rocko wrote: > I have a table with several fields but I only want certain fields > to be displayed in a dataviewer. > Not sure on how to do this. > So far i only have this, which isn't much. > > Dim sView As Result > Dim ID As Integer > > sView = DB.Find("in

[Gambas-user] Scrollbars

2012-09-05 Thread rocko
If I put a scrollbar on a form, then run the app and maximized the window, shouldn't the scrollbar show?? I currently have a scrollbar on a form and when I maximize the window the scrollbar does not appear and the bottom half of my window is blocked. Does the scrollbar need to be in a container?

Re: [Gambas-user] 2D arrays

2012-09-05 Thread Jussi Lahtinen
OK, thanks! Jussi On Wed, Sep 5, 2012 at 8:21 PM, Emil Lenngren wrote: > You cannot access array elements with the "Array" type. That is just a > base class with no _get method. If you have an unknown array type you > must first cast the array to an object, or to the "real" type. > Read more a

Re: [Gambas-user] 2D arrays

2012-09-05 Thread Emil Lenngren
You cannot access array elements with the "Array" type. That is just a base class with no _get method. If you have an unknown array type you must first cast the array to an object, or to the "real" type. Read more about this here: http://code.google.com/p/gambas/issues/detail?id=175 ;) /Emil 2012

[Gambas-user] 2D arrays

2012-09-05 Thread Jussi Lahtinen
Is this bug? Private Sub ArrayTest(iArr As Array) Print Object.Type(iArr) Print iArr[1, 1] *<-- This gives "Not an array".* End Public Sub Button1_Click() Dim iArray As New Integer[10, 10] Print Object.Type(iArray) ArrayTest(iArray) End Jussi ArrayBug-0.0.1.tar.gz Description

[Gambas-user] Enumerating multiple objects at once

2012-09-05 Thread Jussi Lahtinen
Hi! Is there way to enumerate multiple objects without merging them first? Something like: For Each hObject In cCollection1 & cCollection2 & hOneMoreObject ... Next I think it would be more elegant than: For Each hObject In cCollection1 DoSomething(hObject) Next For Each hObject In cCollecti

Re: [Gambas-user] Disabling the "automatic declaration of undeclared local variable"

2012-09-05 Thread Ru Vuott
Grazie molte, Bruce ! vuott --- Mer 5/9/12, Bruce ha scritto: > Da: Bruce > Oggetto: Re: [Gambas-user] Disabling the "automatic declaration of undeclared > local variable" > A: "mailing list for gambas users" > Data: Mercoledì 5 settembre 2012, 15:09 > On Wed, 2012-09-05 at 14:07 +0200,

Re: [Gambas-user] Gambas3 Libraries problem -> Gambas 3 bug or OS distro related?

2012-09-05 Thread Benoît Minisini
Le 05/09/2012 15:44, John Rose a écrit : > I thought that it wasn't normal due to clicking of the Ubuntu Main Menu > entry causing a problem. I have not altered the Ubuntu Main Menu entry > myself. This Main Menu entry is generated by the the installation of > the .deb file. Is it therefore possibl

[Gambas-user] Gambas3 Libraries problem -> Gambas 3 bug or OS distro related?

2012-09-05 Thread John Rose
I thought that it wasn't normal due to clicking of the Ubuntu Main Menu entry causing a problem. I have not altered the Ubuntu Main Menu entry myself. This Main Menu entry is generated by the the installation of the .deb file. Is it therefore possible that the problem is the 'parameter' in the .deb

Re: [Gambas-user] Disabling the "automatic declaration of undeclared local variable"

2012-09-05 Thread Fabien Bodard
Take a look into the options Le 5 sept. 2012 12:50, "Ru Vuott" a écrit : > Hello, > > I'ld like to disable in a project the "automatic declaration of undeclared > local variable" feature. > > How do I have to do ? > > Thanks > vuott > > > >

[Gambas-user] Disabling the "automatic declaration of undeclared local variable"

2012-09-05 Thread Ru Vuott
Hello, I'ld like to disable in a project the "automatic declaration of undeclared local variable" feature. How do I have to do ? Thanks vuott -- Live Security Virtual Conference Exclusive live event will cover all the

Re: [Gambas-user] 38 different classes - all exactly the same.

2012-09-05 Thread Bruce
On Wed, 2012-09-05 at 12:00 +0200, Fabien Bodard wrote: > For properties on the fly ... Why dont you use _get ? Because, because ... I never thought of using it that way. ... now I have some real thinking to do. B ---

Re: [Gambas-user] Gambas3 Libraries problem -> Gambas 3 bug or OS distro related?

2012-09-05 Thread Benoît Minisini
Le 05/09/2012 12:17, John Rose a écrit : > I have removed the jewishheritage .deb package using Synaptic. I have > installed the jewishheritage .deb package (generated using IDE's 'Make - > Installation package menu entry. Attached is a screenshot showing > reference to /usr/bin/jewishheritage rath

Re: [Gambas-user] 38 different classes - all exactly the same.

2012-09-05 Thread Fabien Bodard
For properties on the fly ... Why dont you use _get ? Le 5 sept. 2012 11:58, "Bruce" a écrit : > On Tue, 2012-09-04 at 18:21 -0300, Fabián Flores Vadell wrote: > > > What I'd like to be able to do is have only one of these, rather than > > > 38. > > > > > > The reason that the metadata is held as

Re: [Gambas-user] 38 different classes - all exactly the same.

2012-09-05 Thread Bruce
On Tue, 2012-09-04 at 18:21 -0300, Fabián Flores Vadell wrote: > > What I'd like to be able to do is have only one of these, rather than > > 38. > > > > The reason that the metadata is held as a static attribute is that > > during any execution of a given program, there might be hundreds > > (somet