I know this is a few months on now, but I was wondering if anybody has
downloaded Fabien's project? I tried running it but, still don't have the
ability to edit the TableView.
I created a new project (using Gambas 2.8) and copied the source of
FMain.class into my project and created what I assumed
On mercredi 24 décembre 2008, gam...@organet.com wrote:
> Hi List,
>
> perhaps a silly question, but here it is:
> In my component I do:
> ' Gambas module file
> Export
> Private hCFG As Settings
>
> Public Sub _init()
> hCFG = New Settings(User.Home &/ "projekte/gambas/xyz.cfg")
> End
>
> After
you may make a class
'gambas TUser.class
'Gambas class
PUBLIC name as string
PUBLIC date as string
PUBLIC id as long
then
Dim MyUser as NEW TUser
MyUser.name = "Mike"
etc
2008/12/24 ClassD 2008 :
> How do in Gambas
>
> 'VB
> type User
> name as string
> date as string
> id as long
> en
ClassD 2008 ha scritto:
> How do in Gambas
>
> 'VB
> type User
> name as string
> date as string
> id as long
> end type
>
>
You have to make a class file where you declare name, date, id as
public. If you want you can also add methods to do operations on these
variables. For example
cl
gam...@organet.com ha scritto:
> Hi List,
>
> perhaps a silly question, but here it is:
> In my component I do:
> ' Gambas module file
> Export
> Private hCFG As Settings
>
> Public Sub _init()
> hCFG = New Settings(User.Home &/ "projekte/gambas/xyz.cfg")
> End
>
> After that I have defined my pu
How do in Gambas
'VB
type User
name as string
date as string
id as long
end type
Thanks to all.
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://l
Hi List,
perhaps a silly question, but here it is:
In my component I do:
' Gambas module file
Export
Private hCFG As Settings
Public Sub _init()
hCFG = New Settings(User.Home &/ "projekte/gambas/xyz.cfg")
End
After that I have defined my public functions.
xyz.cfg holds some connection paramete