ArcPad Scripting Object Model
DefaultValue Property
See Also  Send comments on this topic.
Control Object : DefaultValue Property

Glossary Item Box

Description

Returns or sets the default value of the control.

Property type

Read-write property

Syntax

object.DefaultValue = [ Value ]

Return Type

String

Remarks

The DefaultValue property applies to the following controls: CheckBox, ComboBox, DateTime, Edit, ImageBox, and Slider. The DefaultValue property is an expression string, not a constant value. Although a numeric value like 1.23 will work as both an expression and a constant, strings must be enclosed in quotes to become constants (for example, "Brown" must be used instead of Brown).

See Also

© 2012 All Rights Reserved.