- This topic has 4 replies, 2 voices, and was last updated 15 years, 4 months ago by Support.
-
AuthorPosts
-
July 6, 2009 at 8:33 pm #33099JohnBankParticipant
Hello,
Thank you for your skins,thank you for your supportI have asked you anytime I faced a trouble using your components and you delivered the best ever support to me.However,I made myself a very handy function:
CODEprocedure FadeControls(ctrl:Array of TwinControl);
var element:TwinControl;
begin
for element in ctrl do
begin
PrepareForAnimation(element);
element.Visible := true;
AnimShowControl(element,250);
end;
end;It shows the controls in 'ctrl' one by one and it looks cool after all.
July 10, 2009 at 7:44 am #39844SupportKeymasterHello
Hiding will be possible in the next release I think by using a function like this :CODEprocedure 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;July 12, 2009 at 11:07 am #39893JohnBankParticipantHello
Hiding will be possible in the next release I think by using a function like this :CODEprocedure 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” />
July 13, 2009 at 9:28 pm #39904JohnBankParticipant6.40 stable just got released.
Tell me did you add the feature? Please say “yes”. <img src="style_emoticons//a3.gif” style=”vertical-align:middle” emoid=”:a3:” border=”0″ alt=”a3.gif” />
July 14, 2009 at 5:11 am #39915SupportKeymasterYes <img src="style_emoticons//smile.gif” style=”vertical-align:middle” emoid=”:)” border=”0″ alt=”smile.gif” />
AuthorPostsViewing 5 posts - 1 through 5 (of 5 total)- You must be logged in to reply to this topic.