TLama

Untitled

Jun 17th, 2014
483
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Delphi 0.23 KB | None | 0 0
  1. procedure TForm1.FormShow(Sender: TObject);
  2. begin
  3.   MyPanel.AutoSize := False;
  4.   try
  5.     Button1InsideMyPanel.Visible := True;
  6.     Button2InsideMyPanel.Visible := False;
  7.   finally
  8.     MyPanel.AutoSize := True;
  9.   end;
  10.   // ...
  11. end;
Advertisement
Add Comment
Please, Sign In to add comment