Answer the question
In order to leave comments, you need to log in
[Delphi] How to constantly generate a new form window class?
Is it possible to automatically generate a new window class each time a program is started?
Form1 according to the standard, how to make any random? (not the name of the form, but its class) Is it possible? How?
Answer the question
In order to leave comments, you need to log in
If you meant window class (WinApi concept) - override TWinControl.CreateParams.
type
TfmMain = class (TForm)
.....
protected
procedure CreateParams(var Params : TCreateParams); override;
end;
procedure TfmMain.CreateParams(var Params : TCreateParams);
begin
inherited;
// а затем подкорректируй Params по собственному желанию.
end;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question