|
Move View control.
Syntax 1
MoveWindow (
"POS",
pos,
[,speed=0]
[,easing="easeOutExpo"]
[,params]
)
Parameters
moveType
|
|
Type:
|
character
|
|
"POS"
|
pos
|
|
Type:
|
Number (array)
|
|
Movement position.
Specify the array as c(left [,top=#N/A#] [,width=#N/A#] [,height=#N/A#]). If #N/A# is specified, there will be no movement.
|
speed
|
|
Type:
|
Number
|
|
The time (in ms) for the animation to complete.
|
easing
|
|
Type:
|
character
|
|
Format: "movement-algorithm" or "movement-mode:movement-algorithm"
Travel modes
0 (or omitted)
|
Smooth animation rendering. Even if the tag value is updated during animation rendering, it is not reflected on the screen.
|
1
|
Smooth animation. If the tag value is updated during animation, it will be reflected on the screen.
|
2
|
Prioritize CPU load. Animations will not be rendered smoothly, but the CPU load will be kept as close as possible to normal.
|
Movement Algorithm
inear/easeInSine/easeOutSine/easeInOutSine/easeInQuad/easeOutQuad/easeInOutQuad/easeInCubic/
easeOutCubic/easeInOutCubic/easeInQuart/easeOutQuart/easeInOutQuart/easeInExpo/easeOutExpo/
easeInOutExpo/easeInCirc/easeOutCirc/easeInOutCirc/easeInBack/easeOutBack/easeInOutBack/
easeInBounce/easeOutBounce/easeInOutBounce
|
params
|
|
Type:
|
Characters (array)
|
|
Any other properties you want to animate. Specify them in a property array. For example, c("TitleHeight:20", "FillAlpha:0.2")
|
Return Value
|
|
Type:
|
Boolean
|
|
FALSE - Failure. TRUE - Success.
|
Explanation
Moves View control to the specified position and enlarges it to the specified size.
example)
this.MoveWindow("POS", c(30, 30, 238, 168), 400, "", "FillAlpha:0.2");
|
Syntax 2
MoveWindow (
"NORMAL"
[,speed=0]
[,easing="easeOutExpo"]
[,params]
)
Parameters
moveType
|
|
Type:
|
character
|
|
"NORMAL"
|
speed
|
|
Type:
|
Number
|
|
The time (in ms) for the animation to complete.
|
easing
|
|
Type:
|
character
|
|
Format: "movement-algorithm" or "movement-mode:movement-algorithm"
Travel modes
0 (or omitted)
|
Smooth animation rendering. Even if the tag value is updated during animation rendering, it is not reflected on the screen.
|
1
|
Smooth animation. If the tag value is updated during animation, it will be reflected on the screen.
|
2
|
Prioritize CPU load. Animations will not be rendered smoothly, but the CPU load will be kept as close as possible to normal.
|
Movement Algorithm
inear/easeInSine/easeOutSine/easeInOutSine/easeInQuad/easeOutQuad/easeInOutQuad/easeInCubic/
easeOutCubic/easeInOutCubic/easeInQuart/easeOutQuart/easeInOutQuart/easeInExpo/easeOutExpo/
easeInOutExpo/easeInCirc/easeOutCirc/easeInOutCirc/easeInBack/easeOutBack/easeInOutBack/
easeInBounce/easeOutBounce/easeInOutBounce
|
params
|
|
Type:
|
Characters (array)
|
|
Any other properties you want to animate. Specify them in a property array. For example, c("TitleHeight:20", "FillAlpha:0.2")
|
Return Value
|
|
Type:
|
Boolean
|
|
FALSE - Failure. TRUE - Success.
|
Explanation
Change View control from maximized to standard display.
example)
this.MoveWindow("NORMAL", 400, "", "FillAlpha:0.2");
|
Syntax 3
MoveWindow (
"MAX"
[,pos="XY"]
[,speed=0]
[,easing="easeOutExpo"]
[,params]
)
Parameters
moveType
|
|
Type:
|
character
|
|
"MAX"
|
pos
|
|
Type:
|
character
|
|
Specify the following display format characters:
"XY" -- Set the entire display size to maximum (if omitted, it will become "XY")
"X" -- Maximize the X axis
"Y" -- Maximize the Y axis
|
speed
|
|
Type:
|
Number
|
|
The time (in ms) for the animation to complete.
|
easing
|
|
Type:
|
character
|
|
Format: "movement-algorithm" or "movement-mode:movement-algorithm"
Travel modes
0 (or omitted)
|
Smooth animation rendering. Even if the tag value is updated during animation rendering, it is not reflected on the screen.
|
1
|
Smooth animation. If the tag value is updated during animation, it will be reflected on the screen.
|
2
|
Prioritize CPU load. Animations will not be rendered smoothly, but the CPU load will be kept as close as possible to normal.
|
Movement Algorithm
inear/easeInSine/easeOutSine/easeInOutSine/easeInQuad/easeOutQuad/easeInOutQuad/easeInCubic/
easeOutCubic/easeInOutCubic/easeInQuart/easeOutQuart/easeInOutQuart/easeInExpo/easeOutExpo/
easeInOutExpo/easeInCirc/easeOutCirc/easeInOutCirc/easeInBack/easeOutBack/easeInOutBack/
easeInBounce/easeOutBounce/easeInOutBounce
|
params
|
|
Type:
|
Characters (array)
|
|
Any other properties you want to animate. Specify them in a property array. For example, c("TitleHeight:20", "FillAlpha:0.2")
|
Return Value
|
|
Type:
|
Boolean
|
|
FALSE - Failure. TRUE - Success.
|
Explanation
Show View control to the fullest.
example)
this.MoveWindow("MAX", "XY", 400, "", "FillAlpha:1");
|
reference
OpenForm
GetCurrentBasedForm
GetCurrentForm
SetStretch
GetZoom
SetZoom
ResetZoom
TakeThumbnail
PrintThumbnail
GetFormHeight
GetFormWidth
GetDialogSize
KillCurrentFocus
MoveTabStop
RefreshTabOrder
OpenHomeForm
OpenPrevForm
OpenNextForm
IsHavePrevForm
IsHaveNextForm
ClearFormHistory
MoveWindow
|