* Small improvement in setting method prop, by Lipinast Lekrisov

This commit is contained in:
Michaël Van Canneyt 2024-12-17 21:41:08 +01:00
parent a1892091ed
commit 76e2ee9970

View File

@ -7313,7 +7313,7 @@ begin
tkClass:
SetObjectProp(TObject(Instance), FPropInfo, AValue.AsObject);
tkMethod:
SetMethodProp(TObject(Instance), FPropInfo, TMethod(AValue.GetReferenceToRawData^));
SetMethodProp(TObject(Instance), FPropInfo, PMethod(AValue.GetReferenceToRawData)^);
tkInterface:
SetInterfaceProp(TObject(Instance), FPropInfo, AValue.AsInterface);
tkFloat: