User Tools

Site Tools


readme:v11.0:event-parameters

DK.Delphi: More compatible events parameters

Documentation | What's new & coming | v11.0

In DK11 we avoid const parameters in even hadlers to make code more compatible with C++ (and looking more standard). In most cases just deleting const from existing event handler is enough.

DK10:

procedure TForm1.PaintShape( const _sender : TObject; const _shape : TGIS_Shape ) ;
var

DK11:

procedure TForm1.PaintShape( _sender : TObject; _shape : TGIS_Shape ) ;
var

Similar changes applied for C++Builder and .NET code.

2016/12/15 14:17

Page Tools