Subject | TIB_ComboBox (Repost) |
---|---|
Author | Russell Belding |
Post date | 2001-07-31T20:40:02Z |
This is a request to change the behaviour of TIB_ComboBox so that it behaves
like TIB_LookupCombo.
In both controls you can reselect the current value.
When the current value is reselected in TIB_LookupCombo its dataset does not
enter state dsEdit.
When the current value is reselected in TIB_ComboBox its dataset's state is
set to dsEdit.
The dataset state affects the transaction state. The trnsaction state
affects whether I tell my user they have made a change.
If a user reselect the current value they think they have not made a change.
Therefore I suggest the TIB_ComboBox behaviour should change.
Thanks for considering this.
Example:
Take for example the IBO LookupCombo demonstration progam. Stay on one
record. Drop the Department IB_LookupCombo and reselect the current value.
The IB_Updatebar does not change and behind the scenes the trDemo
transaction state stays at tsInactive. (I do not know if it has intermediate
values through this action).
I have added a TIB_ComboBox to this program and added a few values: USA,
France, Italy, .... and attached it to field JOB_COUNTRY. If I drop the
ComboBox and reselect the current value the IB_UpdateBar changes and behind
the scenes trDemo transitions from tsInactive to tsActive.
In this sense the behaviour of the LookupCombo and the ComboBox is different
when the current value is reselected. I am asking if the ComboBox behaviour
should be the same as the LookupCombo when the current value is reselected.
Russell Belding
like TIB_LookupCombo.
In both controls you can reselect the current value.
When the current value is reselected in TIB_LookupCombo its dataset does not
enter state dsEdit.
When the current value is reselected in TIB_ComboBox its dataset's state is
set to dsEdit.
The dataset state affects the transaction state. The trnsaction state
affects whether I tell my user they have made a change.
If a user reselect the current value they think they have not made a change.
Therefore I suggest the TIB_ComboBox behaviour should change.
Thanks for considering this.
Example:
Take for example the IBO LookupCombo demonstration progam. Stay on one
record. Drop the Department IB_LookupCombo and reselect the current value.
The IB_Updatebar does not change and behind the scenes the trDemo
transaction state stays at tsInactive. (I do not know if it has intermediate
values through this action).
I have added a TIB_ComboBox to this program and added a few values: USA,
France, Italy, .... and attached it to field JOB_COUNTRY. If I drop the
ComboBox and reselect the current value the IB_UpdateBar changes and behind
the scenes trDemo transitions from tsInactive to tsActive.
In this sense the behaviour of the LookupCombo and the ComboBox is different
when the current value is reselected. I am asking if the ComboBox behaviour
should be the same as the LookupCombo when the current value is reselected.
Russell Belding