- This topic has 13 replies, 3 voices, and was last updated 13 years, 3 months ago by HeDiBo.
-
AuthorPosts
-
March 3, 2010 at 2:42 pm #33585HeDiBoParticipant
I would like to have some animation of a panel and its components if a TsPanel becomes visible/ not visible. Something like when you change skins: a slow fading effect. Is that possible?
March 10, 2010 at 10:03 am #41844SupportKeymasterHi!
Animation procedure from ASkinDemo may be used not only for frames.
Example of animation for panels exists in this demo also : http://www.alphaskins.com/sfiles/asldemo.zipMarch 10, 2010 at 11:34 am #41853HeDiBoParticipantThanks <img src="style_emoticons//a7.gif” style=”vertical-align:middle” emoid=”:a7:” border=”0″ alt=”a7.gif” /> That showed me how to fade in a panel. But fading out (slowly making it invisible) was not in the demo. Can you explain how to do that?
March 17, 2010 at 10:11 am #41893SupportKeymasterBut fading out (slowly making it invisible) was not in the demo. Can you explain how to do that?
Look this topic please, I think it helps.March 17, 2010 at 11:08 am #41896HeDiBoParticipantLook this topic please, I think it helps.
Unfortunately it does not work.The control is a TsPanel, containing 4 TsBitBtn's at the top (no captions on the buttons, just glyphs), below that is a TsCheckListBox aligned to the bottom of the panel. The panel is placed visually on top of a TsMemo field (as far as the Z-order is concerned), but actually the panel is on the main form, just as the parent of the TsMemo is the main form. The panel functions as a kind of pop-up screen. This is a picture of the whole screen:
[attachment=3833:MainScreen.jpg]What happens if you click the cancel button is that everything fades out except the cancel button (the small button with the X). But all controls reappear when the mouse cursor goes over them, except for the underlying panel: that one reappears but not skinned.
In short: it's a real mess.
March 18, 2010 at 9:40 am #41932SupportKeymasterThis feature will be improved in the next version.
I will send a patched file to you by email now.March 18, 2010 at 10:37 am #41935HeDiBoParticipantThis feature will be improved in the next version.
I will send a patched file to you by email now.
You're amazing: that solved it <img src="style_emoticons//a7.gif” style=”vertical-align:middle” emoid=”:a7:” border=”0″ alt=”a7.gif” />
Is there a similar function to slide out a panel (I don't mean the TsFrameBar, but an animation function that will slide a panel out of nothing in a given direction). If you look at my screen shot, you can see that it would look even nicer if the panel would slide out of the button and back in again.March 23, 2010 at 7:44 am #41982SupportKeymasterIs there a similar function to slide out a panel (I don't mean the TsFrameBar, but an animation function that will slide a panel out of nothing in a given direction). If you look at my screen shot, you can see that it would look even nicer if the panel would slide out of the button and back in again.
I think you can move this panel with changing of her region..March 23, 2010 at 10:41 am #41991HeDiBoParticipantMarch 23, 2010 at 10:48 am #41992SupportKeymasterYou can change a panel region by SetWindowRgn procedure for cutting out the bottom part of panel (which must be invisible).
March 23, 2010 at 10:55 am #41993HeDiBoParticipantYou can change a panel region by SetWindowRgn procedure for cutting out the bottom part of panel (which must be invisible).
I'm sure it can be built in Windows. I was just wandering if you had a utility in AC to accomplish it. <img src="style_emoticons//happy.gif” style=”vertical-align:middle” emoid=”^_^” border=”0″ alt=”happy.gif” />March 23, 2010 at 10:58 am #41994SupportKeymasterNo, I'm sorry.
August 10, 2011 at 2:31 pm #46418ralfiiiParticipant'HeDiBo' wrote:You're amazing: that solved it
Is there a similar function to slide out a panel (I don't mean the TsFrameBar, but an animation function that will slide a panel out of nothing in a given direction). If you look at my screen shot, you can see that it would look even nicer if the panel would slide out of the button and back in again.
Did you implement such an iPhone-like window-that-slides-out function?
If yes: Could you provide some code and/or even a demo-app?
I need to implement exactly the same thing now, and it's always nice if you don't need to re-invernt the wheel…
Thanks in advance!
Ralf
August 10, 2011 at 5:51 pm #46419HeDiBoParticipant'ralfiii' wrote:Did you implement such an iPhone-like window-that-slides-out function?
Sorry Ralf, never got to implement such thing :a8: .
-
AuthorPosts
- You must be logged in to reply to this topic.