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