Jump to content

Boolean text

From LabVIEW Wiki
Revision as of 14:09, 28 March 2011 by Tcplomp (talk | contribs) (Created page with "A boolean indicator has three different textual displays: * label * caption * boolean text File:BooleanText.png The ''label'' is static for the whole execution time, t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A boolean indicator has three different textual displays:

  • label
  • caption
  • boolean text

The label is static for the whole execution time, the caption is changeable through property nodes to have some feedback for the user.

The boolean text is a set of multiple strings (up to 4) that can represent the state of the boolean control, another functional feature is that you can click on the boolean text to toggle the value of the boolean.

So if you have a checkmark and want to enable your user to easily toggle the checkmark, hide the label, caption and show the boolean text.

Editing

The boolean text can have multiple values, you can programmatically set it with the string[] property. If you provide one (1) string you set a generic value, with two (2), yet set the False and True values. If you provide three (4) values you set a False, True, False to True and True to False values.