MoveWindow

<< Click to Display Table of Contents >>

Manual > Control Reference > Basics > View control > Methods >

MoveWindow


 

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.

 


hmtoggle_plus1Explanation

 


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.

 


hmtoggle_plus1Explanation

 


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.

 


hmtoggle_plus1Explanation

 


reference