[Gambas-user] More on properties ...

Benoit Minisini gambas at ...1...
Sun Apr 29 22:24:11 CEST 2007


On dimanche 29 avril 2007, Gareth Bult wrote:
> Still pressing on ...
>
> I can see the method for filling a static combo box for a components
> properties ..
>
> I want to link a My GridEditor to a Connection component .. is there a
> neat way of filling a property combo with a list of all components
> within the application of a given type ?
> (so effectively setting the contents of the drop down to a list of
> components of type "DBConnection")
>
> ??
>
> Gareth.
>

Not at the moment, but this is planned for the next release after 2.0.

This release will be a 2.2 or maybe a 3.0, I don't know yet.

I want to merge the database manager and the IDE, and to make the IDE managing 
different form types: report forms, web forms, for example. And consequently, 
I will need to manage properties like you did.

At the moment, I suggest you do like me in the gb.db.form component: always 
use the current connection, by using the DB static class.

Note that I have never used Delphi, I don't know it at all, so maybe you will 
have many ideas for Gambas that I don't imagine :-)

Regards,

-- 
Benoit Minisini




More information about the User mailing list