Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Logical place to put the code
Message
From
09/06/2010 05:40:37
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01467974
Message ID:
01468045
Views:
37
>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
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.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform