QUOTE (Support @ Jul 10 2009, 08:44 AM)
Hello
Hiding will be possible in the next release I think by using a function like this :
CODE
procedure FadeControls(ctrl : Array of TwinControl; IsVisible : boolean);
var element : TwinControl;
begin
for element in ctrl do
begin
PrepareForAnimation(element);
element.Visible := IsVisible;
AnimShowControl(element, 250);
end;
end;
I have another question.Delphi VCL isn't thread safe and I can't do it with original delphi VCL,so I ask about your controls:
Can I create a thread for each control in the loop so the gui doesn't freeze when I call the function? When I call the function with two controls,it freezes for 500 ms.
Could you add this in the next release too? <img src="style_emoticons//wub.gif” style=”vertical-align:middle” emoid=”:wub:” border=”0″ alt=”wub.gif” />