Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ALLOW DRAG AND DROP RESULTS FROM A GRID

Status
Not open for further replies.

titoneon

MIS
Dec 11, 2009
335
US
Hello Guys,
I have a form which, will allow me to search for a filename, from an specific drive/s, once this filename is found(and it could be in different folders) it is displayed in Grid, this grid does not show columns and rows, i other words i have gridLines = 0, see below

Code:
Add Object grid1 As Grid With ;
            Top = 120, Left = 10, Height = 300, Width = 550, ColumnCount = 1,;
            deletemark = .F., AllowCellSelection = .F., GridLines = 0, ;
            HeaderHeight = 0, RecordMark = .F., ScrollBars = 2
I would like to know the trick, that after the information is displayed in the grid, to be able to select the filename and Drag and Drop this one, for example if i am able to select that file(which in this case is shown in the grid as a row) and i need to attach it to an email, if i can drag and drop it to my Microsoft outlook as an attach.
I am wondering what can i do to accomplish it ?
Thanks in advance
Erenesto
 
Ernesto,

This is certainly possible, but it's difficult to give you any advice without knowing what you already know about drag and drop. It's quite a big topic, and your question is very general. If this is all completely new to you, you should start by reading the relevant topics in the Help file (start with the topic named "Dragging and Dropping Data ", and follow the links from there).

I suggest you do that first, and then come back when you have some more specific questions.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips and downloads
 
Mike,
Thanks i will try that, yes i am new to the Drag and drop topic, yes i will
Ernesto
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top