LIstView keeps selectection

Started by Fred Tomke, February 09, 2010, 12:13:49 PM

Previous topic - Next topic

Fred Tomke

Hello, before adding as a bug report I want to know if the following way OpenDCL works now is by design or a bug:

In the attached video you can see that a doubleclick a folder. The list will will be filled with the contents of the subfolder using FillList method. Unfortunately, the listview keeps the selection even after setting (dcl_ListView_SetCurSel signothek_sc_signothek_lst_objects -1) right before and after invoking filllist method. It seems that the selection will be rebuild after finishing the event handler.

Form:
KeepFocus = T
EventInvoke = 0

ListView:
EventInvoke = 0
SingleSelectionStyle
ShowSelectAlways = T
both of DragDrop = nil

Fred
Fred Tomke
Dipl.-Ing. (FH) Landespflege

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

owenwengerd