BlockList's OnKeyDown event bug

Started by khann, May 29, 2009, 07:50:09 PM

Previous topic - Next topic

khann

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

I'm not sure I understand the problem. If you press left/right/up/down, the current selection should end up where it started.
Owen Wengerd (Outside The Box) / ManuSoft

Fred Tomke

Hm,

QuoteIf 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
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

owenwengerd

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.
Owen Wengerd (Outside The Box) / ManuSoft