say State of ComboBoxGadget
Posted: Sat Sep 16, 2017 1:04 am
say State of ComboBoxGadget
now, pb is:
1) if not use #PB_ComboBox_Editable, EditForm will can't edit, this is ok.
2) if use #PB_ComboBox_Editable and State>-1,EditForm will = Item(State) Until EditForm edited and let them unequal, then State=-1
question: when them equal at State>-1, if Remove Item(State), EditForm will = ""
=============
I think, should:
EditForm always equal Item(-1), if State>-1 and Remove Item(State), EditForm will not changed.
but, must prescribed:
if selected Item of list, must let EditForm's text= Item(State)'s text,
and State will >-1 ,despite EditForm get active.
Until EditForm edited and let them unequal, then State=-1,
and State always=-1, despite EditForm edited and let EditForm's text= Item(lateState)'s text,
Until selected Item of list, then State>-1
now, pb is:
1) if not use #PB_ComboBox_Editable, EditForm will can't edit, this is ok.
2) if use #PB_ComboBox_Editable and State>-1,EditForm will = Item(State) Until EditForm edited and let them unequal, then State=-1
question: when them equal at State>-1, if Remove Item(State), EditForm will = ""
=============
I think, should:
EditForm always equal Item(-1), if State>-1 and Remove Item(State), EditForm will not changed.
but, must prescribed:
if selected Item of list, must let EditForm's text= Item(State)'s text,
and State will >-1 ,despite EditForm get active.
Until EditForm edited and let them unequal, then State=-1,
and State always=-1, despite EditForm edited and let EditForm's text= Item(lateState)'s text,
Until selected Item of list, then State>-1