GraffitiDropzone

View Categories

Images #

About #

GraffitiDropzone provides a simple means of capturing user file drops and selection, and providing instructions.

Features:

  • File drop capture
  • Custom links
  • Multiple file handling

Enumerations #

Name Values

This class exposes no enumerations.

Constants #

Name Type Value

This class exposes no constants.

Events #

Definition Description
FileDropped Fires when the user has dropped a file and the value has changed.
LinkClicked Raised when the user clicks a link in the caption area.

Methods #

Definition Parameters Return Tyoe Description
AddFile file as FolderItem None Add a file to the currently selected items.
atIndex as Integer = -1
File atIndex as Integer FolderItem Returns the FolderItem at the given index.
LastFileIndex None Integer Returns the index of the final currently selected file.
RemoveAllFiles None None Removes all files from the internal FolderItem array.
RemoveFile atIndex as Integer None Removes the FolderItem from the internal array at the given index.

Properties #

Name Type Default Value Description
Caption String Click <link>Here</link> to select a file, or drop a file directly on the icon above. Text to display below the drop icon. Use <link></link> to indicate links.
CustomColors Boolean False When True, the class will use the color properties to draw the UI.
IconColor Color &c000000 Color to use when drawing the icon in the display area.
LinkColor Color &cff0000 Color used to draw links in the display area.
TextColor Color &c000000 Color used to draw text in the display area.
TextFont String System Font used to draw text and links in the display area.
TextSize Integer 0 Font size used to draw text and links in the display area.

Examples #

This class currently has no examples.

Notes #

This class currently has no notes.