Taktaky
Messages postés31Date d'inscriptionlundi 21 mai 2007StatutMembreDernière intervention21 août 2008
-
21 mai 2008 à 15:03
f0xi
Messages postés4205Date d'inscriptionsamedi 16 octobre 2004StatutModérateurDernière intervention12 mars 2022
-
21 mai 2008 à 21:23
Salut
je voudrais Refresh mon TrsPanel1 mais je ne peut pas compile the Programme :
procedure ShowDummy(C: TControl);
var
PF: TCustomForm;
procedure SC_(WC: TWinControl);
var I: Integer;
begin
WC.Invalidate;
for I : = 0to WC.ControlCount - 1do
begin
if WC.Controls[I]is TWinControl then
SC_(WC.Controls[I]as TWinControl)
else
WC.Controls[I].Invalidate;
end;
end;
begin
ifnot(csDesigning in C.ComponentState)then
begin
if C is TForm then
PF := (C as TForm)
else
PF := GetParentForm(C);
if PF <> nilthen
SC_(PF);
end;
end;