delphi - set components visible property on a panel or form -


how grab components form or panel , set visible property false ?

   ///      ///    loop components, idea solution ,,,,    ///     i:= 0 mypanel.componentslist         begin          ///          mycomponent.visible := false;            end; 

use controls array purpose.

for example:

for := 0 panel1.controlcount - 1   panel1.controls[i].visible := false; 

Comments

Popular posts from this blog

ios - iPhone/iPad different view orientations in different views , and apple approval process -

java Extracting Zip file -

C# WinForm - loading screen -