khann
2009-05-30 02:50 UTC
Hi.
I've tested the BlockList OnKeyDown event.
After pressing the left, right, up, down arrow key,
the "dcl_blocklist_getcursel" returns the previous selitem value.
Mmm.
owenwengerd
2009-05-30 05:01 UTC
I'm not sure I understand the problem. If you press left/right/up/down, the current selection should end up where it started.
fred_tomke
2009-05-30 06:56 UTC
Hm,
If you press left/right/up/down, the current selection should end up where it started.
What will be given back by
dcl_blocklist_getcursel within OnKeyUp?
Fred
owenwengerd
2009-05-30 19:38 UTC
Ah, I understand now. The problem is that the current selection does not change until *after* the OnKeyDown event. It seems strange that there is no OnSelectionChanged event for the block list; it should be added as a feature request.