컨트롤의 높이값(height)과 높이 단위를 변경하는 API이다.
Parameters | Type | Description |
---|---|---|
nHeight | short | 컨트롤 높이값(height) |
nHeightUnit | short | [옵션] 높이 단위 |
Type | Description |
---|---|
BOOL | 정상 처리 여부 |
**높이 단위 속성값 상수 0 : pixel 1 : percent(%)
function btn_setheight_on_mouseup()
{
// 컨트롤의 height를 500px로 변경
btnTest.setheight(500, 0);
// 컨트롤의 height를 100%로 변경
btnTest.setheight(100, 1);
}