GETPEM( ) Function

See Also

Returns the current value for a property or program code for an event or method at design time.

Syntax

GETPEM(oObjectName | cClassName, cProperty | cEvent | cMethod)

Returns

Character, Currency, Date, DateTime, Numeric, or Logical

Arguments

oObjectName

Specifies the object for which a property value or event or method program code is returned. oObjectName can be any expression that evaluates to an object, such as an object reference, an object memory variable, or an object array element.

cClassName

Specifies the class for which a property value or event or method program code is returned.

cProperty

Specifies the property whose value is returned.

cEvent

Specifies the event for which program code is returned.

cMethod

Specifies the method for which program code is returned.

Remarks

GETPEM( ) is supported only during an interactive Visual FoxPro session.