탭 » Event

on_contentsize

Description

탭의 자식컴포넌트 크기 및 위치 변경에 의해 컨텐츠영역 크기가 변경되었을때 발생하는 이벤트이다.

Parameters

Parameters Type Description
objInst INSTANCE 이벤트가 발생한 오브젝트
itemindex short 탭 아이템 인덱스 (Zero-Base)
content_width short 변경된 컨텐츠영역 너비 (*Remark 참조)
content_height short 변경된 컨텐츠영역 높이 (*Remark 참조)

Return Value

Type Description
void

Remark

* 변경된 컨텐츠영역 너비 및 높이
content_width - anchor가 left 또는 center인 자식컴포넌트중 right좌표가 가장 오른쪽인 컴포넌트의 right좌표
content_height - anchor가 top 또는 center인 자식컴포넌트중 bottom좌표가 가장 아래쪽인 컴포넌트의 bottom좌표

Example

//

Viewer Ver.

9.1.1.1

Update Date

20220616