Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 4 of 4 total |
Using SlideTo method |
Wed, Nov 2 2016 11:26 AM | Permanent Link |
Trinione | Shouldn't the following code slide a form off the screen to the right?
Form1.SlideTo(Parent.ClientWidth, 0, asExpoEaseInOut, 300); |
Wed, Nov 2 2016 3:53 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | << Shouldn't the following code slide a form off the screen to the right? Form1.SlideTo(Parent.ClientWidth, 0, asExpoEaseInOut, 300); >> Well, you're also specifying 0 for the Y coordinate, so it should slide up and to the right (unless the form's Top value is already 0). What are you seeing ? Tim Young Elevate Software www.elevatesoft.com |
Wed, Nov 2 2016 8:38 PM | Permanent Link |
Trinione | Tim Young [Elevate Software] wrote:
<< What are you seeing ? >> Form1, in this example, takes up the entire screen (lpTopLeft and lpBottomRight). With the command the form does not move, it just fades out. |
Thu, Nov 3 2016 3:29 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | << Form1, in this example, takes up the entire screen (lpTopLeft and lpBottomRight). With the command the form does not move, it just fades out. >> If you've got the form pegged to a specific layout, then SlideTo won't change that. Instead, use this method first: http://www.elevatesoft.com/manual?action=viewmethod&id=ewb2&comp=TControl&method=Float It will "float" the control/form so that it's parent is the application surface (the default for forms, so nothing changes in your case), but more importantly it disables all layout properties for the control/form. Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Saturday, May 4, 2024 at 12:54 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |