WideStudio/MWT Logo
WideStudio/MWT
Programming Guide
WideStudio/MWT Index
Table of contents


배열화한 객체에 접근(access)하기에는

배열화한 객체에 접근(access) 할수 있습니다. 객체를 배열화 하기에는 응용프로그램 빌더 사용 설명서의 [객체를 배열로서 정의(define)하기에는]를 참조하십시오. 배열화한 객체에는 다음과 같이 접근(access)합니다.

#include <WSCvlabel.h>

// 접근(access)할 배열의 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.90 for WideStudio/MWT ver 3.90, Jul 2005


WideStudio/MWT documents index | Table of contents

Copyright(C) WideStudio/MWT Development Team, 1999-2005 Last modified: Jul 31, 2005