Subject | Combobox in the Grid |
---|---|
Author | Riho-Rene Ellermaa |
Post date | 2002-05-10T13:04:07Z |
Hi!
IBO 4.2 Fp and BCB5
I have TIB_LookupCombo on the TIB_Grid
Combo's Query is SELECT NAME,CODE FROM BANK, ordered by NAME. DisplayField is CODE. If user opens Combo and selects bank it's ok. But if he wants to enter bank code manualy (i.e. 73000), then it doesn't work. The combo uses keystrokes to search for a bank named 73000. I set SearchKeyByKey=false, but that didn't help (it doesn't do the search anymore, but I still can't enter code).
Another thing is that when I insert new row into grid and fill some fields, then click on Combobox and use scrolling wheel of the mouse (user expects to select bank), then all my entered data dissapears from this row!!!
How can I turn the scrollingwheel behaviour completely off or make it to do something useful?
Riho-Rene Ellermaa
senior programmer
Hansabank
IBO 4.2 Fp and BCB5
I have TIB_LookupCombo on the TIB_Grid
Combo's Query is SELECT NAME,CODE FROM BANK, ordered by NAME. DisplayField is CODE. If user opens Combo and selects bank it's ok. But if he wants to enter bank code manualy (i.e. 73000), then it doesn't work. The combo uses keystrokes to search for a bank named 73000. I set SearchKeyByKey=false, but that didn't help (it doesn't do the search anymore, but I still can't enter code).
Another thing is that when I insert new row into grid and fill some fields, then click on Combobox and use scrolling wheel of the mouse (user expects to select bank), then all my entered data dissapears from this row!!!
How can I turn the scrollingwheel behaviour completely off or make it to do something useful?
Riho-Rene Ellermaa
senior programmer
Hansabank