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 solveCodePudding user response:
Is there a man, can pop up is unable to set the width heightCodePudding 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 rebuiltCodePudding 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;