WideStudio Logo
WideStudio
Programming Guide
WideStudio Index
Table of contents


How to draw the instances

You can use the following methods to draw the instances.

To control drawing Description
mwt::WSCbase_setAbsoluteDraw(Boolean) Sets the flag of forced drawing.
mwt::WSCbase_draw() draws if needs.
mwt::WSCbase_redraw() clears and draws
mwt::WSCbase_cdraw() draws the instance and its children.
mwt::WSCbase_clear() clears the instance.
mwt::WSCbase_update() draws if needs.



How to update the instance

Usually, it executes updating the instance at the end of the event procedures. If you want to update at once, you can it with the method: update().

use mwt;

sub event_procedure {
  my ($object) = @_;
  # change a property.
  $object->setProperty("labelString","ÀßÄêÆ°ºî");
  # updating.
  $object->update(); 
  return;
}1;

The method: update() updates the instance, if it needs to reflect the change of the properties.

How to draw the instance

There are following cases to draw the instances.

Document Release 3.80 for WideStudio ver 3.80, Jan 2005


WideStudio documents index | Table of contents

Copyright(C) WideStudio Development Team, 1999-2005 Last modified: Jan 05, 2005