DisplayedValue property (WinStudio scripts)

Applies To

IWSFormComponent interface

Definition

Retrieves the value in the specified form component and returns it as a string. If the component is a grid component (such as a column), this property works on whatever record is selected at the time this property is called. Read-only.

Syntax

object.DisplayedValue

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

Example

Sub Main()
   Dim oValue As String
   oValue = ThisForm.Components("gridColumn1").DisplayedValue
   Application.ShowMessage(oValue)
End Sub