Forum > LCL
Stability of LCL Classes? (Porting Project to Lazarus 1.8RC5)
(1/1)
guest60499:
It seems that LCL classes are subject to change. This is problematic, as a project I work on contains bindings to the LCL that have become hard to maintain. An example follows. The solution was found, but is there a better way to track these changes? The release notes do not seem to contain all changes.
The following error is in reference to this unit.
--- Code: ---procedure TControl_ShouldAutoAdjustLeftAndTop(const Params: PParamArray; const Result: Pointer); lape_extdecl
begin
PBoolean(Result)^ := PControl(Params^[0])^.ShouldAutoAdjustLeftAndTop();
end;
--- End code ---
--- Code: ---lplclcontrols.pas(142,46) Error: identifier idents no member "ShouldAutoAdjustLeftAndTop"
--- End code ---
Renamed and interface changed in this commit.
zeljko:
It's changed in trunk. You should use stable version if you need stable api.
JuhaManninen:
Zeljko, it changed also in 1.8. Yes, it should be mentioned in release notes for sure. There seems to be a replacement function. The code should be easy to adjust.
Navigation
[0] Message Index