Recent

Author Topic: CreateParams in TCustomForm better protected?  (Read 5326 times)

Borneq

  • Full Member
  • ***
  • Posts: 238
CreateParams in TCustomForm better protected?
« on: December 27, 2009, 09:22:42 pm »
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

  • Full Member
  • ***
  • Posts: 238
Re: CreateParams in TCustomForm better protected?
« Reply #1 on: December 28, 2009, 05:41:01 pm »
I can't use CreateParams in my class because it is private
Sorry,it is OK, is protected

 

TinyPortal © 2005-2018