레이팅바 » Api

setstepvalue

Description

레이팅바의 증감값을 설정하는 API이다.

Parameters

Parameters Type Description
nStepValueType short 증감값 타입

Return Value

Type Description
BOOL 정상 처리 여부

Remark

증감값 타입은 아래와 같다.
0: 0.5
1: 1
2: 1

Example

function setstepvalue_on_mousedown(objInst) { // 0:0.5, 1:1, 2:2 var nstep = ratingbar.getstepvalue(); switch(nstep) { case 0: fld03.settext("0.5"); break; case 1: fld03.settext("1"); break; case 2: fld03.settext("2"); break; default: break; } nstep++; ratingbar.setstepvalue(nstep); }

See Also

setminvalue
getminvalue
setmaxvalue
getmaxvalue
getstepvalue
setvalue
getvalue

Viewer Ver.

9.1.1.1

Update Date

20200717