Sign in Join
Wiki copytemporary

TGroupBox/ru

Deutsch · English · Français · Suomi · Русский · 日本語

TGroupBox является контейнером, который позволяет физически сгруппировать некоторое количество объектов на форме.

Использование

Для использования TGroupBox на форме вы можете просто выбрать его на вкладке Standard палитры компонентов и поместить на форму щелчком мыши.

Небольшой пример

pascal
procedure TForm1.RadioButton1Change(Sender: TObject);
begin
  GroupBox2.Visible:=Radiobutton2.Checked;
end;
pascal
procedure TForm1.Button1Click(Sender: TObject);
begin
  ShowMessage('Users and administrators can click this button');
end;

procedure TForm1.Button2Click(Sender: TObject);
begin
  ShowMessage('Only administrators can click this button');
end;

->

См. также


From the Free Pascal wiki, page "TGroupBox/ru", as it stood on 2020-03-01 after a change by GAN, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.

Revision 1, last changed by WikiArchive .

Talk about this page

Nobody has opened a bench for this page yet. Sign in to open one.