탭 » Api
mkchildcontrolarray
Description
지정 인덱스의 탭에 링크된 화면 안에 버튼을 동적으로 배열로 생성하는 API이다.
Parameters
Parameters |
Type |
Description |
nTabItem |
short |
탭 아이템 인덱스 |
strCtrlName |
STRING |
컨트롤 명 |
nArrayIndex |
short |
모델 인덱스 |
nNewArrayIndex |
short |
새 인덱스 |
Return Value
Type |
Description |
BOOL |
최대화 상태(true, false) |
Remark
*화면에 미리 작성된 버튼이 존재해야 하며 버튼의 속성 중 array 인덱스를 0으로 기본 설정한 다. 미리 작성된 특정 인덱스의 버튼을 모델로 하여 새로운 인덱스를 부여한 버튼들을 생성할 수 있다.
Example
function btn_on_mouseup()
{
bCreate = tab.mkchildcontrolarray(0, "btnGetPos", 0, 1);
if(bCreate == true) {
screen.alert("생성성공");
}
}
Viewer Ver.
9.1.1.1
Update Date
20110330