Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Logical place to put the code
Message
 
 
To
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:
01468052
Views:
43
>>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.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform