Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- procedure TForm1.FormShow(Sender: TObject);
- begin
- MyPanel.AutoSize := False;
- try
- Button1InsideMyPanel.Visible := True;
- Button2InsideMyPanel.Visible := False;
- finally
- MyPanel.AutoSize := True;
- end;
- // ...
- end;
Advertisement
Add Comment
Please, Sign In to add comment