Page tree
Skip to end of metadata
Go to start of metadata

Description

The Drop control allows you to create an area where you can drop objects, like files, folders and other objects that deliver either a string or a path. In addition to the common properties like size, position etc., it provides a number of special properties that allow you to configure the control. The Drop control can show a bitmap to indicate the drop area, display a bitmap if drop is accepted or rejected, and can be configured using regular expressions to accept only files of a specific type.

 

On this page:

Properties

PropertyDescription
NameThe name of the Drop control.
Position/Size
Position and Size of the element in pixels.

Pos x, Pos y, Width, Height (Pos = Position of upper left corner)

Attach
  • Left: If the parent is resized, the control remains attached to left edge, with the specified ratio.
  • Right: If the parent is resized, the control moves relatively to the right edge, with the specified ratio.
  • Top: If the parent is resized, the control remains attached to top edge, with the specified ratio.
  • Bottom: If the parent is resized, the control moves relatively to the bottom edge, with the specified ratio.
  • Left + Right: If the parent is resized, the control is resized horizontally relatively to the left and right edges, with the specified ratio.
  • Top + Bottom: If the parent is resized, the control is resized vertically relatively to the top and bottom edges, with the specified ratio.
Tooltip
Text that appears as a tooltip when the mouse hovers over the element.
ValueAllows you to connect a parameter that either expects a string or a path.
Style
  • Path: Set this option if you want to accept path objects.
  • String: Set this option if you want to accept string objects.
  • Scalable: Activate this option if you want to be able to resize the drop control. In that case, the assigned bitmap resources are resized according to the scale mode that is defined for the bitmap resource.
BitmapAllows you to assign a bitmap resource that is displayed permanently.
Reject BitmapAllows you to assign a bitmap resource that is displayed if an object cannot be dropped.
Accept BitmapAllows you to assign a bitmap resource that is displayed if an object can be dropped.
  • No labels

1 Comment