Sign in Join
Wiki copytemporary

Revision 1 of 1, by Djzepi on 9-15-2019. The page as it is now.

TGroupBox/fi

TGroupBox on säiliö (tai kontti), jonka avulla joukko komponentteja voidaan ryhmitellä fyysisesti ja käsitteellisesti lomakkeelle.

Käyttö

Jos halutaan käyttää TGroupBox:a lomakkeella, se voidaan valita komponenttipaletin Standard-välilehdeltä ja sijoittaa sen napsauttamalla lomaketta.

Pieni esimerkki

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

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

->

Katso myös


From the Free Pascal wiki, page "TGroupBox/fi", as it stood on 2019-09-15 after a change by Djzepi, 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.