Code: Select all
ObjectSet("id1", OBJPROP_SCRHALIGNMENT, 1);
ObjectGet("id1", OBJPROP_SCRHALIGNMENT); // always returns 0.0
same for OBJPROP_SCRVALIGNMENT.
You can also test by changing text alignment in FT2 of the text "id1", but the value returned from ObjectGet is always 0.0
I believe the Delphi interface does not have this problem:
Could you please check?