Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
>I'm working on an interface in which I have a listbox populated with potential column headings for a grid. The grid would start with one blank column with a header caption that says something like "(drag data item here)"... The user could then select an item from the list and drag the item to that column header. At that point the column header caption would change to the name of the list item, query the data and populate the grid rows with the data, and add a new 'blank' column to allow additional data to be pulled.
>
>Does this sound feasible? Any coding suggestions on getting the drag and drop to work?
>
Sounds reasonable. You're probably better off using the OLE drag and drop mechanism than VFP's native mechanism. It gives you more fine-grained control.
If you have the Hacker's Guide, you'll find a good overview and some examples in the reference section. Look up "OLE drag and drop" and read all the associated topics as well.
Tamar
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement