Thema: Delphi Frage zu TGridPanel

Einzelnen Beitrag anzeigen

Benutzerbild von toms
toms
(CodeLib-Manager)

Registriert seit: 10. Jun 2002
4.648 Beiträge
 
Delphi XE Professional
 
#2

Re: Frage zu TGridPanel

  Alt 17. Jan 2010, 09:05
vielleicht so?

Delphi-Quellcode:
var
  Col, Row: Integer;
begin
  with GridPanel1 do
  for Row := 0 to Pred(RowCollection.Count) do
    for Col := 0 to Pred(ColumnCollection.Count) do
      ControlCollection.Controls[Col, Row].Free;
Thomas
  Mit Zitat antworten Zitat