Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Drag & Drop Support | ||||||||
Line: 17 to 17 | ||||||||
When the user drops an object (file/folder/email message/etc) on the drop target, Appx will populate 2 files and then fire the specified --- OPTION. The files are: --- DROPINFO which will contain one record for every object dropped and --- DROPPROP which will contain multiple records for each object dropped. Both of these files are keyed by the --- WIDGET IMAGE KEY, so if you have more than one drop target on your image, you can differeniate them. Alternatively, you can have the different drop targets fire different Option Numbers. | ||||||||
Changed: | ||||||||
< < | The --- DROPINFO PATHNAME contains the full path to the object the user dropped. The --- DROPROP file is a child file of --- DROPINFO and contains multiple records for each object. The specific data varies depending on the type of object dropped. The --- DROPPROP KEYWORD identifies a specific property, and --- DROPPROP VALUE contains the value of that property. | |||||||
> > | The --- DROPINFO PATHNAME contains the full path to the object the user dropped. The --- DROPPROP file is a child file of --- DROPINFO and contains multiple records for each object. The specific data varies depending on the type of object dropped. The --- DROPPROP KEYWORD identifies a specific property, and --- DROPPROP VALUE contains the value of that property. | |||||||
For example, if a file from the users desktop is dropped, --- DROPINFO PATHNAME might contain something like "C:\Documents and Settings\jean\Desktop\VolumeC.txt" and --- DROPPROP might contain the following keywords and values: | ||||||||
Line: 26 to 26 | ||||||||
| ||||||||
Changed: | ||||||||
< < | An Email message might have the following ---- DROPROP keywords and values: | |||||||
> > | An Email message might have the following ---- DROPPROP keywords and values: | |||||||
| ||||||||
Line: 38 to 38 | ||||||||
| ||||||||
Changed: | ||||||||
< < | DROPINFO PATHNAME would contain the path to open and read the dropped item. | |||||||
> > | Note that these keywords vary depending on the user's desktop language. | |||||||
Changed: | ||||||||
< < | Note that these files are cleared every time the user drops an object on your drop target. If you do not process or save the information each time, the previous data will be lost. | |||||||
> > | DROPINFO PATHNAME would contain the path to open and read the dropped item. You could also use this to open the file via .CLIENT LOAD URL: SET --- TEMP 512 = " APPEND --- TEMP 512 0 --- DROPINFO PATHNAME APPEND --- TEMP 512 0 " PASS --- TEMP 512 FIELD SHARE? N GOSUB --- .CLIENT LOAD URLWe enclose the name in quotes in case it contains a space. Note that these files are cleared every time the image is displayed to the user. If you do not process or save the information each time, the previous data will be lost. | |||||||
Comments:Read what other users have said about this page or add your own comments. |