Forum > LCL

Custom component (run on windows and linux)

(1/1)

herux:
I have a code like this,


--- Code: ---procedure TCustomComboGrid.CreateParams(var Params: TCreateParams);
begin
  inherited CreateParams(Params);
  with Params do begin
    Style:= Style and not WS_CHILD or WS_POPUP or WS_BORDER;
     ....
  end;
end;

--- End code ---

and run well in windows using Delphi
I try to use it in lazarus, but the form does not WS_POPUP as I expected.

any suggestion ?

Marc:
Only a little part of CreateParams is supported, since it is very windows centric and not really cross platform

Navigation

[0] Message Index

Go to full version