Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 3 of 3 total |
Animation Issue |
Wed, Apr 6 2016 3:34 AM | Permanent Link |
squiffy Telemix Ltd. | (might be related to Matthew's post : http://www.elevatesoft.com/forums?action=view&category=ewb&id=ewb_general&page=1&msg=9462#9462)
I have a basic panel with animations set on Height to 500ms (increasing this doesn't affect it) and Linear (changing this has no effect either) . The panel starts off at a height of 30, then I manually increase it as I add controls to it. This fires the animations just fine. However, if I remove the controls and reduce the height back to the minimum in one move, no animation fires, it just reduces immediately. I remove like this : if panelTimes.ControlCount>0 then begin while panelTimes.ControlCount>0 do begin panelTimes.Controls[0].Free; end; panelTimes.Height:=30; end; and add like this : newLabel:=TLabel.Create(nil); ... blah blah... panelTimes.Height:=controlCount*(newLabel.Height+10); adding a variable number of labels and edit boxes each time. |
Wed, Apr 6 2016 3:43 AM | Permanent Link |
Matthew Jones | Mine animates up and down in size, but the panel below jumps
immediately. -- Matthew Jones |
Wed, Apr 6 2016 8:30 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | << However, if I remove the controls and reduce the height back to the minimum in one move, no animation fires, it just reduces immediately. >>
More than likely it's an issue with how the animation is processed in relation to other UI updates. Please send me an email with a project that shows what you're trying to do, and I'll post here with how to fix it. Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Thursday, March 28, 2024 at 08:36 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |