Difference: 520DragDrop (6 vs. 7)

Revision 72012-10-29 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="APPX520Features"

Drag & Drop Support

Line: 10 to 10
  Define a LABEL, BUTTON, or FIELD object on your image. (NOTE: If you use a FIELD, you can select from the various normal control types, but be aware that the field value will not be automatically modified by the drag & drop operation).
Changed:
<
<
On the object Properties screen, check the "Drop?" box, and set the Chooser Mode to one of the following:
>
>
On the object Properties screen, set the Chooser Mode to one of the following:
 
  • ANY - Accepts a file, folder, or Email message/Attachment.
  • FILE - Accepts files only.
  • FOLDER - Accepts Folder names only
  • TREE - Same as ANY, except if the user drops a folder name, the folder will be parsed and all file names will be returned in the DROPINFO/DROPPROP files.
Changed:
<
<
>
>
dragndrop.png
 
Changed:
<
<
You can also set those values, --- WIDGET DROP TARGET and --- WIDGET FI CHOOSE MODE, via ILF code.
>
>
You can also set --- WIDGET FI CHOOSE MODE via ILF code.
 

Drop Target at Runtime

The border of the widget will change to Green when an object is dragged over it. If the object is not of the correct type, then a message 'No valid items dropped' will display in the status area when the user drops it. For example, this will happen if the widget is set for files only and the user tries to drop a folder.

Line: 84 to 84
 -- JeanNeron - 2012-06-14

META FILEATTACHMENT attachment="atttrib.jpg" attr="h" comment="" date="1347468492" name="atttrib.jpg" path="atttrib.jpg" size="64451" user="AlKalter" version="1"
Added:
>
>
META FILEATTACHMENT attachment="dragndrop.png" attr="" comment="" date="1351533362" name="dragndrop.png" path="dragndrop.png" size="24824" user="JeanNeron" version="1"
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback