Sign in Join
FPDoc Onlineexperiment

IVarInvokeable.SetProperty function

Member of IVarInvokeableIn unit Variants

Called when a property must be set.

Declaration

pascal
function SetProperty(var V: tvardata; const Name: AnsiString; 
 const Value: tvardata): Boolean

Arguments

V

Variant to write property on.

Name

Name of property to write.

Value

Value to set property to.

Function result

Indicate whether the property was written correctly.

Description

DoFunction is called whenever a variant property is written. Value is filled with the new value of the property. V is the variant on which the property is written. The Name is the name of the property to write.

The function must return True if the property was written correctly, False otherwise.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.