[Gambas-user] Gambas2 components?

Gareth Bult gareth at ...1689...
Tue Jan 13 22:50:38 CET 2009


>Not sure how ligit this would be but couldn't you grab a delphi Freeware DB component 
>source and try and converting it to play nice with GAMBAS?

You "could". The DB component is however very complex and not required, most of what you need is already in Gambas!

GridEditor was designed to do as much (or more) as the Delphi Equivalent, and my DB module (which subclasses the Gambas Connection component) is tiny .. thus the code is a fraction of the size / complexity of the Delphi stuff.

>lastly where and how do i grab this grideditor as for me just having data displayed would be nice to have.
>From the link listed on my last email (?!)

>I don't think i'd mind to sql inserts into the DB 
GridEditor does *most* of this for you, as per the Delphi modules.

My videophone component now has two-way voice and one-way video, so I'm nearly finished .. then I'll get back to GridEditor .. that is if customers would stop giving me real work to do .. don't they know there's a recession on !!  ;-)

hth

Gareth.

----- Original Message -----
From: "dave L" <dglnz at ...43...>
To: "mailing list for gambas users" <gambas-user at lists.sourceforge.net>
Sent: Tuesday, 13 January, 2009 8:06:37 PM GMT +00:00 GMT Britain, Ireland, Portugal
Subject: Re: [Gambas-user] Gambas2 components?

Hi Garth,

Yes I've seen your emails about this Grideditor but was unsure if it was your own creation or something 3rd party you've pull into Gambas (3rd party as in another developer had made it and your interested in doing more with it).

I am using Gambas from the K/Ubuntu 8.04 repositories.
the version i have is 2.0.00 (at work at present and so cannot confirm properly).

Might have a nosey and see if i can find a later version as a deb file somewhere.

Back on topic :)

As you may have seen from reply to Charles i've got a link to the test DB i'm using (proved this by doing SQL statements and having valid replies) now i need to work out how to display the data to the control.

my problem with OOP is that i understand BUT I cannot do it!

With ruby (played for 2 months) i was able to put my understanding into action which was great.

Not sure how ligit this would be but couldn't you grab a delphi Freeware DB component source and try and converting it to play nice with GAMBAS?

that way you have a known working component that needs conversion.

just a simpletons thought.

lastly where and how do i grab this grideditor as for me just having data displayed would be nice to have.

I don't think i'd mind to sql inserts into the DB - ie user enters data into textboxes etc
behind the scene i to insert into table values .... type sql statements.
Yes i know i might have it wrong as it's been at least 3 years since i did any real sql work - note programming isn't my paid job tho i did want it to be.

cheers,

dave.

--- On Wed, 14/1/09, Gareth Bult <gareth at ...1689...> wrote:

> From: Gareth Bult <gareth at ...1689...>
> Subject: Re: [Gambas-user] Gambas2 components?
> To: "mailing list for gambas users" <gambas-user at lists.sourceforge.net>
> Received: Wednesday, 14 January, 2009, 12:32 AM
> Ok,
> 
> I was sort of waiting for the man to comment .. however,
> it's an area of interest for myself.
> Apologies in advance if this feels a little negative,
> it's not intentional.
> 
> >I'm interested in finding out how to go about
> creating reusable components and how to install 3rd party
> ones.
> 
> Me too!
> There are reasons why you don't find many I'm
> afraid ..
> 
> >Lastly is there a database component (ie one that you
> can set via properties from within the ide for the DB of
> choice?
> 
> AhHa! Another ex-Delphi/Kylix programmer .. ;-)
> 
> No. (not yet)
> 
> >I'm thinking of what was/is available in the likes
> of Delhpi 3 where you had ....
> >    a database component
> >    a datasource
> >    grids and table views
> 
> The closest thing you're going to get for the moment is
> GridEditor.
> http://gambasrad.org/software/gambas-grideditor
> 
> The reason this is still a flakey looking add-on is because
> it's written as a Gambas component (in Gambas) and as a
> result, the facilities to render the component inside the
> IDE (live) don't exist. That said, I'm using
> GridEditor in a number of (substantial) applications as in
> the context of what it does, I'm unaware of any bugs and
> performance-wise it works pretty well. (it has no problems
> editing tables [select's] with tens of thousands of
> rows) It also handles master-slave daisy chaining for
> dynamic / graphical updates.
> 
> [Note; not that gambas written components are flakey
> specifically, just one's ability to present the
> component / properties makes the component look less than
> professional]
> 
> That said, I'm currently writing my first "C"
> component and once I have it finished, I'm going to have
> a crack (again) at getting GridEditor to do what I (and you)
> think it ought to .. :)
> 
> hth
> 
> Gareth.
> 
> 
> ----- Original Message -----
> From: "dave L" <dglnz at ...43...>
> To: gambas-user at lists.sourceforge.net
> Sent: Tuesday, 13 January, 2009 7:55:10 AM GMT +00:00 GMT
> Britain, Ireland, Portugal
> Subject: [Gambas-user] Gambas2 components?
> 
> Hi new to Gambas and have been browsing for other peoples
> components (3rd party).
> not had too much luck in finding anything as yet.
> 
> I'm interested in finding out how to go about creating
> reusable components and how to install 3rd party ones.
> 
> Lastly is there a database component (ie one that you can
> set via properties from within the ide for the DB of choice?
> 
> have created a test project and said i wanted database
> components in it but looking at all of them there is no
> database component (something that allows you to say via
> properties to setup the connection strings)
> with the others there looks like there is no visible
> property to connect the thing to a table or rdbms.
> 
> I'm thinking of what was/is available in the likes of
> Delhpi 3 where you had ....
>     a database component
>     a datasource
>     grids and table views
> 
> thus the DB handled the link to into the db and datasource
> handled the link to a table with the db and the grid/views
> dblabels & db textboxes handled the display or entry
> into fields and db control manages the scrolling through the
> db records.
> 
> hope i can get some feed back,
> 
> regards,
> 
> dave.
> 
> 
> 
>       Easy recipes for Christmas entertaining on Yahoo!Xtra
> Lifestyle- http://nz.lifestyle.yahoo.com/food-recipes
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
> 
> -- 
> Managing Director, Encryptec Limited
> Tel: 0845 5082719, Mob: 0785 3305393
> Email: gareth at ...1689... 
> Statements made are at all times subject to Encryptec's
> Terms and Conditions of Business, which are available upon
> request.
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user


      Get the world's best email - http://nz.mail.yahoo.com/

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Gambas-user mailing list
Gambas-user at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

-- 
Managing Director, Encryptec Limited
Tel: 0845 5082719, Mob: 0785 3305393
Email: gareth at ...1689... 
Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request.




More information about the User mailing list