DefaultData method (WinStudio scripts)

Applies To

IWSFormComponent interface

Definition

Replaces the component's current value with the component's default value.

Syntax

object.DefaultData( )

  Part   Description
object Required. A reference to a valid form component object.

Remarks

If the component has no default value defined, the current value is cleared.

Example

Sub Main()
   ThisForm.Components("OutputFormatDescGridCol").DefaultData()
End Sub