Fandom

Delphi Programming

TCreateParams Type

2,918pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

This page is intended as a supplement to the official documentation on Delphi programming. CodeGear is in the process of putting the Delphi documentation on the Web. Once they have done so, this page will link to the relevant page in the official documentation.
Stub
This article is a stub.
Please help enhance the Delphi Programming Wiki by expanding it.
Info
see the VCL Documentation Guidelines for an overview on doc pages


UnitEdit


DescriptionEdit

(Please provide a description in your own words. It is illegal to use the wording from the Delphi Help.)


Technical CommentsEdit

(Known issues / Documentation clarifications / Things to be aware of)


ExamplesEdit

(Please provide links to articles/source code that show how to use this item.)

To get an window without close, maximize and default window buttons you can do this:

procedure Tform1.CreateParams(var Params: TCreateParams);
begin
  with Params do
  begin          Style := Style and Ws_Caption;   end;    inherited CreateParams(Params); end;

To get an window without caption and buttons you can do this:

procedure TForm2.CreateParams(var Params: TCreateParams);
begin
  inherited CreateParams(Params);
  Params.Style := Params.Style AND NOT WS_CAPTION;
end;

See AlsoEdit

(Please provide links to items specifically related to this item.)


User Comments/TipsEdit

(Please leave your name with your comment.)

Also on Fandom

Random Wiki