PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → ListView Image retrival-assignement and drag and drop (WinDev12) 2nd try
ListView Image retrival-assignement and drag and drop (WinDev12) 2nd try
Débuté par Death, 04 juil. 2008 11:43 - Aucune réponse
Posté le 04 juillet 2008 - 11:43
Hi again,

in 2 weeks I couldn't get an answer to my previous postings, so I'll try again...

Can some guru please help?

thanx


Hi,

I am hoping that mayhaps someone will be so nice as to help me in my ignorance.

I have a DB which has a RTF memo field and an image description (string/key), also an automatic key.
I have another DB which hold an image (memo) and an image description (string/key), also an automatic key.
Looks like this:


Info(DB)
----AutomaticID------Int------------------Key(unique)
----RTF-----------------Memo
----ImageName------String---------------Key(non-unique)

Image (DB)
----AutomaticID------Int------------------Key(unique)
----ImageName------String---------------Key(unique)
----Image--------------Memo

A link between:
Info.ImageName <-> Image.ImageName



The Image DB items are displayed in a Listview which shows the images and names just fine. However, I am totally clueless as to how to get the image from a selected (clicked row) from the LV, anything I tried doesn't work.

So my questions are:

A.) How do I get the image from the selected row of a LV so I can take it and stick it into another ImageControl?

B.) How do I drag and drop the Image from the Listview to the RTF control? (when I do, it drags the text, not the image from the LV into the RTF control)

thanx in advance to the nice guys who are willing to help me out,

Jack