[Gambas-user] bespoke ComboBox
Christof Thalhofer
chrisml at deganius.de
Sat Feb 20 21:38:01 CET 2021
Am 20.02.21 um 13:43 schrieb Gianluigi:
> can you satisfy my curiosity,
> what changes compared to DataComboView (gb.db.form)?
I just played around with gb.db.form for a short time, I really don't
know it.
My combobox is unbound, it has no connection to a database. But it can
be filled with an array or a result to display and manipulate the data.
The programmer has to store the altered data back to the database "by hand".
Further on it can be filled with an object of a class called "DegOrm",
which is my own database ORM* which maps database tables to Gambas
objects. I think it's an equivalent of what gb.db.form does. I was too
lazy to try to understand gb.db.form and was so crazy to write these
things for myself.
The combobox can display multiple columns.
* I would like to give these things (libraries I wrote) to the public
but for me this only makes sense if Gambas had namespaces so that it can
be accessed in a way like this:
'Dim orm as de.deganius.Orm'
Alles Gute
Christof Thalhofer
--
[x] nail here for new monitor
More information about the User
mailing list