Re: [Fxruby-users] placing a FXCheckButton inside a FXTable cell
Status: Inactive
Brought to you by:
lyle
From: meinrad r. <mei...@gm...> - 2003-10-08 08:46:17
|
Brett S Hallett wrote: > I'm trying to set up a FXTable column containing a FXCheckButton so that > a user can 'click' in the checkbox to select/deselect a particular row, > but I cant find out any details on how to do this. > FXTableItem isn't a child of FXWindow so you cannot have a TableItem containing a FXCheckbox. however, you can use the following method of FXTableItem icon [RW] Icon associated with this cell [FXIcon] to display a *fake* checkbox. on SEL_COMMAND of your table change the fake-checkbox-icon to display the current checkbox state. this is a low cost workaround. maybe there are other ways to do it. cheers, -- henon -------------- % cat "food in cans" cat: can't open food in cans |