Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ListBox / ActiveX ListView Problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00989003
Message ID:
01466077
Vues:
47
>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform