[Gambas-user] How to nest a checkbox into a gridview's field

Benoit Minisini gambas at ...1...
Wed Oct 15 00:37:17 CEST 2008


On mardi 14 octobre 2008, M0E Lnx wrote:
> Here is what I'd like to do... Not sure how to do it or if it is possible
> at all
>
> I want to have an object like a gridview or tableview where I can have
> at least 3 columns
>
> Column1 will have a checkbox (boolean) value
> Column2 will have a string value (could be a textlabel or just the
> field's .text value)
> Column3 will have an interger value (could also use string... not
> necessarily interger)
>
> The idea is to create a list of items... say file names to copy to some
> location
>
> This window would copy all the files that have the checkbox set to
> TRUE on column1
>
> I know the gridview and tableview are not container objects, so I
> can't create a checkbox into either one of them
>
> Does anyone have any idea how this could be done?
>

For checkboxes, I use two pictures and the mouse events.

Regards,

-- 
Benoit Minisini




More information about the User mailing list