ControlsTextBox (Object)

Member of:

Controls collection, Dashboard Section object

Description:

Represents a Dashboard text box that must have unique names. Use these name to reference the object in scripts.

Example 1:

This example shows how to change and enable text box text. This script assumes it is run from the Dashboard section and uses the TextBox control:

TextBox.Text = "Hello World"
if (TextBox.Enabled == false)
          TextBox.Enabled = true

Example 2:

This example shows how to populate a Dashboard text box with query limit line values.

MyLimit = ActiveDocument.Sections["Query"].Limits[1].SelectedValues[1]

ActiveDocument.Sections["Dashboard"].Shapes["TextBox1"].Text = MyLimit

Methods:

OnChange(), OnClick(), OnClientClick(), OnClientEnter, OnClientExit, OnEnter(), OnExit()

Properties:

Read-only: Property Name As String, Property Type As BqShapeType

Read-write: AccessibilityText (Property), Alignment IProperty) As BqHorizontalAlignment, AppendObjectText (Property), Property ClientScriptStatus as Boolean, Property Enabled As Boolean, Property Password As Boolean, Property Scrollable As Boolean, Property Text As String, Property VerticalAlignment As BqVerticalAlignment, Property Visible As Boolean