CreateParams in TCustomForm better protected? lazarus / 7-LCL ---------------------------------------------------------------------- Borneq · 2009-12-27 20:22 Problem similar to previous I can't use CreateParams in my class because it is private TListWindow = class(TCustomForm) procedure CreateParams(var Params: TCreateParams); override; procedure TListWindow.CreateParams(var Params: TCreateParams); begin   inherited;   Params.Style := WS_POPUP or WS_THICKFRAME or WS_CLIPCHILDREN;   Params.ExStyle:=WS_EX_TOOLWINDOW; end; ^Error ASlso I can't uses CreateHandle ---------------------------------------------------------------------- Borneq · 2009-12-28 16:41 Quote from: Borneq on December 27, 2009, 09:22:42 pmI can't use CreateParams in my class because it is private Sorry,it is OK, is protected