|
Hi all. Here’s my problem, I have a property that returns an
interface. The interface has several properties. I can read these properties
fine showmessage(Items[i].MyProp);
for example. However if I want to set said interface property I can’t. Items[i].MyProp:= ‘MyValue’; will not call the set method. So the only
way I can set Interface values is first create an interface set the property
values then assign it to the items list items[i]:= MyInterface; Only been playing with these for a small amount of time and
wondering how I should be going about this so I can read and write the
interface properties right off the list? Any takers. function Get_Items(Index: Integer): IDataSightVariable;
safecall; procedure Set_Items(Index: Integer; const Value: IDataSightVariable);
safecall; property
Items[Index: Integer]: IDataSightVariable read Get_Items write Set_Items; |
- RE: [DUG]: Interface question Matthew Evans
- RE: [DUG]: Interface question Kyley Harris
- RE: [DUG]: Interface question Conor Boyd
- RE: RE: [DUG]: Interface question Kyley Harris
- RE: RE: RE: [DUG]: Interface question Matthew Evans
- RE: RE: RE: RE: [DUG]: Interface question Kyley Harris
- RE: RE: RE: RE: RE: [DUG]: Interface question Matthew Evans
- RE: RE: RE: RE: RE: [DUG]: Interface question David Brennan
- RE: RE: RE: RE: RE: [DUG]: Interface question Conor Boyd
- RE: RE: RE: RE: RE: RE: [DUG]: Interface question Kyley Harris
