Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ListBox / ActiveX ListView Problem
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00989003
Message ID:
01466077
Views:
46
>>>With a VFP ListBox, assuming MultiSelect is .T., you can
>>>drag down the rows and select multiple rows.
>>>
>>>With MultuSelect set to .T. in a ListView, you cannot
>>>drag & select. I don't want to hold down Shift or Ctrl,
>>>I want to be able to Drag and select.
>>>
>>>Anyone know how make the ActiveX ListView behave this way?
>>
>>You could use the hittest and hottracking methods. I guess some mouse action could initiate the "drag" and would select the rows as the "pointer" moved over them. Then another mouse action could close the action and offer a menu to copy/paste (or just do it!).
>>
>>You would need an API declaration to reconcile pixels to twips. For an example of the APIs search on Doug Henigs TreeView sample or search the download section for "RIO" (hit test and hottracking are the same in both the treeview and the listview).
>>
>>Or respond back and I will paste them in.
>
>Do you have a sample of treeview with multiselect?
>
>Thanks in advance.


You're responding to a posting I did 5 years ago???
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform