ArcPad Scripting Object Model
Clear Method
See Also  Example  Send comments on this topic.
Console Object : Clear Method

Glossary Item Box

Description

Clears the contents of the Console window.

Syntax

object.Clear

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

© 2012 All Rights Reserved.