트리메뉴 » Api

setheight

Description

컨트롤의 높이값(height)과 높이 단위를 변경하는 API이다.

Parameters

Parameters Type Description
nHeight short 컨트롤 높이값(height)
nHeightUnit short [옵션] 높이 단위

Return Value

Type Description
BOOL 정상 처리 여부

Remark

**높이 단위 속성값 상수

0 : pixel
1 : percent(%)

Example

function btn_setheight_on_mouseup() { // 컨트롤의 height를 500px로 변경 btnTest.setheight(500, 0); // 컨트롤의 height를 100%로 변경 btnTest.setheight(100, 1); }

See Also

getheight

Viewer Ver.

9.1.1.1

Update Date

20211019