Home > Back-end >  Delphi forms from the parent form pop-up, the inside of the handle does not change
Delphi forms from the parent form pop-up, the inside of the handle does not change

Time:10-07

Delphi forms from the parent form pop-up, the inside of the handle does not change

CodePudding user response:

Own child form the pop-up handle to set the parent properties when child form change,
And then use Windows. Setparent method, but the inside of the form can't set height width, and the top left, unable to click on the button, wait for all sorts of problems

CodePudding user response:

Pray god to solve

CodePudding user response:

Is there a man, can pop up is unable to set the width height

CodePudding user response:

Is not a form, handle to change, of course,

CodePudding user response:

Delphi VCL framework good pit dad, set the parent attribute form rebuilt

CodePudding user response:

With q, SetParent after handle the same way? Or find the way to handle?

CodePudding user response:

 
Procedure TForm1. Button1Click (Sender: TObject);
The begin
//Form2. Parent:=the Self;
//use this sentence instead of
Windows. SetParent (Form2. Handle, and the Self. The Handle).
end;
  • Related