Obtain property value by name

Giganews Newsgroups
Subject: Obtain property value by name
Posted by:  Eddie Shipman (mr_delphi_develop…@NOSPAM_yahoo_NOSPAM.com)
Date: Wed, 8 Jul 2009

Need to access Appointment property by propertyname.
How to do that?

Let's say I want to write a function and pass a property name and then
return the value:

function getPropValue(Propname: String): Variant;
begin
  Result := AppointmentItem. ?????
end;

Replies