ArcPad Scripting Object Model
BackgroundColor Property
See Also  Example  Send comments on this topic.
Console Object : BackgroundColor Property

Glossary Item Box

Description

Returns or sets the default background color of the Console window.

Property type

Read-write property

Syntax

object.BackgroundColor = [ value ]

Return Type

OLE_COLOR

Example

Displays the Console window and writes some text to it.
Console Object Example (VBScript)Copy Code
Sub WriteToConsole
      Console.Visible = True
      Console.DebugFlags = 3
      Console.Caption = "My Output"
      Console.Color = apGreen
      Console.BackgroundColor = apYellow
      Console.Clear
      Console.Print "This is the console window", apBlue, apRed
      Console.Print "Here is another message"
End Sub

See Also

© 2013 All Rights Reserved.