>>>Hi everybody,
>>>
>>>I have a TList based TreeView on a form. This treeview allows to select multiple items (you can do it by Ctrl+Click or by Shift+Click). I'm trying to figure out which event should I use to perform logic based on these multiple items selected.
>>>
>>>There is NodeClick event, but I don't want to fire it unless the final selection was done and the user is ready to perform some action with the selected items.
>>>
>>>Do you know which event I may use to find out that user is done with the selection process?
>>>
>>>Thanks in advance.
>>Hi Naomi
>>
>>there is no such event with the interface you have. Electroencephalography might be helpfull? (^.^)
>>
>>I usually (re)start a timer on the selects. The timer will stop itself and do whatever action I need.
>>
>>reasons:
>>-I hate timers
>>-the user does not expect an extra click on something. Otherwise I suggest an extra form for selecting.
>>-the user will allow a small delay for "processing"
>>-the delay gives the user a chance to loose its focus (eye contact?) from the item selcted, focus the form. Now he sees the change happen. This seems to be more intiutive then an immediate change.
>>
>>I use this even on grids where skipping through the records will do difficult and long processings. Just like M$ Windows explorer will do if you run through the tree.
>>
>>Agnes
>
>There are no timers on the form. I figured out there is no event, I also discussed this issue with the developer of the control. He also suggested to use a button or a context menu. I'm thinking, that for what I need to do NodeClick will work fine.
(@.@)
I read the initial msg that you like to delay any action until selection is finished? So how do figure out that the last node is selected?
Agnes
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]