Special FX
The HIDE method allows you to hide a form along with a simple fading or sliding animation. This method takes a single parameter which specifies the type of animation to apply:
Effect Value | Description |
---|---|
-1 or null | Use the default effect value as set in the Form Designer |
0 | No effect |
1 | Fade effect (cannot be used with MDI Child forms) |
2 | Slide Down |
3 | Slide Up |
4 | Slide Right |
5 | Slide Left |
6 | Slide Down and Right |
7 | Slide Down and Left |
8 | Slide Up and Right |
9 | Slide Up and Left |
exec_Method( @window, "HIDE", 2 ); Slide closed from top to bottom