WideStudio Logo
WideStudio
Programming Guide
WideStudio Index
Table of contents


How to access to the arrayed instance.

It is possible to access to an arrayed instance as followings.

let event_procedure obj =
  (* do something...*)
  !labelarray.(0) -> setProperty ("labelString", "Label No. 0");
  !labelarray.(1) -> setProperty ("labelString", "Label No. 1");
  ()
let _ = Callback.register "event_procedure" event_procedure

See Chapter 4.[How to define the instances as an array] of [Wide Studio Builder User's Guide] to create an arrayed instance.

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