Animated sPanel?

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #33585
    HeDiBo
    Participant

    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?

    #41844
    Support
    Keymaster

    Hi!
    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.zip

    #41853
    HeDiBo
    Participant

    Thanks <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?

    #41893
    Support
    Keymaster

    QUOTE (HeDiBo @ Mar 10 2010, 01:34 PM)
    But 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.

    #41896
    HeDiBo
    Participant

    QUOTE (Support @ Mar 17 2010, 11:11 AM)
    Look 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.

    #41932
    Support
    Keymaster

    This feature will be improved in the next version.
    I will send a patched file to you by email now.

    #41935
    HeDiBo
    Participant

    QUOTE (Support @ Mar 18 2010, 10:40 AM)
    This 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.

    #41982
    Support
    Keymaster

    QUOTE (HeDiBo @ Mar 18 2010, 12:37 PM)
    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.


    I think you can move this panel with changing of her region..

    #41991
    HeDiBo
    Participant

    QUOTE (Support @ Mar 23 2010, 08:44 AM)
    I think you can move this panel with changing of her region..


    I'm not sure what you mean by “region” <img src="style_emoticons//unsure.gif” style=”vertical-align:middle” emoid=”:???:” border=”0″ alt=”unsure.gif” />

    #41992
    Support
    Keymaster

    You can change a panel region by SetWindowRgn procedure for cutting out the bottom part of panel (which must be invisible).

    #41993
    HeDiBo
    Participant

    QUOTE (Support @ Mar 23 2010, 11:48 AM)
    You 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” />

    #41994
    Support
    Keymaster

    No, I'm sorry.

    #46418
    ralfiii
    Participant
    '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

    #46419
    HeDiBo
    Participant
    'ralfiii' wrote:

    Did you implement such an iPhone-like window-that-slides-out function?

    Sorry Ralf, never got to implement such thing :a8: .

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.