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

Glossary Item Box

Description

Returns or sets a value that determines the types of messages displayed in the Console window.

Property type

Read-write property

Syntax

variable = object.DebugFlags

Return Type

Long

Remarks

The supported values for DebugFlags are:

Value Meaning
0 No debugging messages
1 Show event messages
2 Show internal debug and timing messages
3 Show all messages

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.