 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
HanslH Guest
|
Posted: Sun Feb 01, 2004 12:29 pm Post subject: suppress tcombobox onclick event when scrolling |
|
|
delphi4
I have a dbedit that users can fill from a combobox and I need to
update de dbedit after the user has choosen and set focus to another
dbedit.
If I put the code in the onclick / onchange event, the dbedit gets
updated and the focus lost while the user is scolling through the
combobox with keys up/down (end of scrolling .
If I leave onclick/oncange empty and setup the code under
chr(13)-onkeypress all is well keyboardwise but not mousewise of
course. Selecting an item with the mouse does not trigger an onexit
either. I cannot check for keypresses within an onclick / onchange
event. So I'm stuck.
Funny thing is that tdblookupcombobox behaves so differently.
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|