Verify Property

A Boolean value. Gets or sets the Verify / Not Verify state.

Applies to objects: CustomProp

Syntax

[[Let] RetVal = ] object.Verify

[Let] object.Verify = SetVal

The Verify property syntax has these parts:

Part Description
object A reference to an instance of the object.
RetVal A Boolean type variable.
SetVal A Boolean value.

Remarks

If Verify is TRUE and the Value property is not initialized when a new instance of the Shape property is created, the user will be asked to set the Value property. If Verify is FALSE the Value property will not be requested.

Example

This example demonstrates working with the CustomProp object.

Dim MyShape As Shape, MyProperty as  CustomProp

' Create a  Shape
MyShape = thisDoc.ActivePage.DrawRect(100,100,1000,1000)
' Create custom properties for MyShape MyProperty = MyShape.AddCustomProp()
' Working with the properties of MyProperty MyProperty.Label = "IP"
MyProperty.Prompt = "TCP/IP address"
MyProperty.Type = 3
MyProperty.Format = "192.168.0.1;192.168.0.2;192.168.0.3"
MyProperty.Value = "192.168.0.1"
MyProperty.Invisible = FALSE
MyProperty.Verify = TRUE

 

See Also

CustomProp Object, Document Object