How to access to the arrayed instance.It is possible to access to an arrayed instance as followings.
#include <WSCvlabel.h>
//extern declaration to access to an arrayed instance..
extern WSCvlabel** labelarray;
void event_procedure(WSCbase* object){
labelarray[0]->setProperty(WSNlabelString,"Label No. 0");
labelarray[1]->setProperty(WSNlabelString,"Label No. 1");
...
}
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.0 For Use with Wide Studio Release 3.0, Summer 2002
|