| WideStudio Programming Guide | WideStudio Index Table of contents

> ## 访问对象数组

> 关于对象数组，请参考应用程序生成器用户指南的“定义对象数组”章节。 按照如下步骤访问对象数组。

>     #include <WSCvlabel.h>

>     //待访问数组的extern声明
>     extern WSCvlabel** labelarray;

>     void event_procedure(WSCbase* object){
>       labelarray[0]->setProperty(WSNlabelString,"Label No. 0");
>       labelarray[1]->setProperty(WSNlabelString,"Label No. 1");
>        ...
>     }

Document Release 3.70 for WideStudio ver 3.70, May 2004

WideStudio documents index | Table of contents

Copyright(C) WideStudio Development Team, 1999-2004 | Last modified: May 25, 2004