| Programming Guide | WideStudio/MWT Index Table of contents |
객체에 배치되여있는 자식 객체를 취득하기에는
자식 객체를 취득할 함수에는, 다음과 같은 메서드를 사용합니다.
자식 취득 멤버 함수 기능 Mwt::WSCbase getChildInstance(char*) 객체명칭 지정에의한 취득
특정의 자식 객체를 취득하기에는
특정의 자식 객체를 취득하기에는, 멤버 함수 getChildInstance() 를 사용합니다.def event_procedure(object) # 특정의 자식 객체의 명칭을 지정해서 취득 child = object.getChildInstance("newvbtn_001") if child != nil # 특정의 자식 객체에 접근(access) child.setVisible(Mwt::True) end endobject 가 배치되여있는 자식 객체를 명칭 지정으로 취득하는곳입니다. 명칭 지정의 자식 객체를 취득할 경우, 재귀저(자식 객체에 배치된 자식 객체까지)으로 검색합니다. 혹시 지정된 명칭의 객체가 못찾은 경우, nil 가 돌입니다.
| Copyright(C) WideStudio/MWT Development Team, 1999-2005 | Last modified: Jul 31, 2005 |