Text

Displays a text.

textmodule1.jpg

Double click on the module to display the text editor window.

color

Background color.

text

Text content.

font color

Font color.

where

Determines where the display panel is visible:

  • invisible : the panel is invisible
  • ctrl panel : in the control panel
  • parent ctrl panel : in the control panel of the parent patch if it exists
  • top ctrl panel : in the control panel of the top parent patch (main patch) if it exists
  • container : in the container of the current patch
  • parent container : in the container of the parent patch current patch
  • top parent container : in the container of the top parent patch patch
  • IB: visible in the interface builder mode only

when the location is set to a container which doesn’t exist in the patch, Usine try to find, in parent patches, the first container available. If no container is available an error message is displayed.

caption

Displayed caption of the control.

mouse dwn

Gives the mouse state of the control: 1 if the mouse is pressed 0 otherwise. In multi-touch configuration, can be an array of [0..1] values. See Getting Multi-touch infos in Patches.

mouse X

Gives the mouse X position on the the control in relative coordinates:

  • 0 most left,
  • 1 most right.

In multi-touch configuration, can be an array of [0..1] values. See Getting Multi-touch infos in Patches.

mouse Y

Gives the mouse Y position on the the control in relative coordinates:

  • 0 top,
  • 1 bottom.

In multi-touch configuration, can be an array of [0..1] values. See Getting Multi-touch infos in Patches.

gesture

Gives information about the last gesture applied on the control. See Getting Gesture Info.

bitmap in

Background bitmap input. See Manipulate Bitmaps.

bitmap out

Bitmap output. See Manipulate Bitmaps.

drop file name

Name of the dropped file. See Using drag & drop.

allow drop

Enables or disables the drag&drop possibilities on the panel. See Using drag & drop.

dbl click

Send a 1 value if the user has double clicked on the control.

panel X

Gives the X position of the top left corner of the panel in the parent panel (container or control panel). See Floating Panels.

panel Y

Gives the Y position of the top left corner of the panel in the parent panel (container or control panel). See Floating Panels.

contact X

contact Y

Gives the contact surface of touch screens points, on X and Y axes, . Those values are not available on all touch devices. Windows 7 only.

hint

Hint string of the control. See Hint Strings.

open text

Opens the editing windows, to edit the text or the comma text.

manual/modules/text.txt · Last modified: 2013/04/19 02:22 (external edit)