| WideStudio Programming Guide | WideStudio Index Table of contents

> ## How to move the position of the instances

> You must clear the instances to move the position of it as follows.

>     def event_procedure(object)
>       #clear the instance.
>       object.clear()
>       #set invisible.
>       object.setVisible(Mpfc::False)
>       #move the position.
>       object.setProperty("x",100)
>       object.setProperty("y",100)
>       #set visible.
>       object.setVisible(Mpfc::True)
>     end

> There are some cases that an afterimage is left,if you move the position of the instance, which has no window resource. If you don”Ēt want it left, you have to clear the instance before moving the position.
> The instance which has a window resource is automaticary cleared.

Document Release 3.70 for WideStudio ver 3.70, Feb 2004

WideStudio documents index | Table of contents

Copyright(C) T. Hirabayashi, 2000-2004 | Last modified: Feb 25, 2004