Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
For such a task, TPageControl is well suited. Each form state on its own tab. It will not be necessary to change the visibility of a bunch of controls - just switch the tabs. And there will be no porridge from controls in the design. Hide tabs on tabs.
You can make a GroupBox or Panel, add components there. Next, you specify GroupBox.Visible = false
When you click on the button, write GroupBox.Visible=true
var
Button : TButton;
begin
Button := TButton.Create(Self);
Button.Parent := pnlBottom;
Button.Caption := 'Some caption';
Button.Left := 600;
end;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question