Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » GridCtrl and ThreeState option
Re: GridCtrl and ThreeState option [message #33539 is a reply to message #33538] |
Mon, 22 August 2011 08:22 |
|
forlano wrote on Mon, 22 August 2011 01:05 | Hello,
I wanted a 3state Option in a column.
Using
grid.AddColumn("option").Option()
I got a simply two state.
Modifying the library method MakeOption and adding .ThreeState() the problem is resolved
static void MakeOption(One<Ctrl>& ctrl)
{
ctrl.Create<Option>().ThreeState().ShowLabel(false);
ctrl->SetData(0);
ctrl->WantFocus();
}
However I would ask to Daniel to consider adding a new method to get the ThreeState when desidered. For example
.Option(bool threestate=false)
Thanks,
Luigi
|
Ok, why not It will be in repository this evening
|
|
|
Goto Forum:
Current Time: Fri May 17 17:34:59 CEST 2024
Total time taken to generate the page: 0.03399 seconds
|