라디오버튼 » Api

setselectgroup

Description

해당 라디오버튼에 그룹을 지정하는 API이다.
현재 라디오버튼에 그룹명이 이미 지정된 경우 그룹명을 변경하면
해당 그룹에서는 삭제되고 새로운 그룹명의 그룹에 해당 라디오버튼이 추가된다.

Parameters

Parameters Type Description
strGroup STRING 라디오버튼 그룹명

Return Value

Type Description
void

Example

function bb_on_mouseup(objInst) { ctrlRadio.setselectgroup("rdGroup01"); screen.getcontrolcount(); var instObj = screen.getinstancefirst(); while(instObj) { if(instObj.getcontrolkind() == XFD_CTRLKIND_RADIOBUTTON){ factory.consoleprint(instObj.getselectgroup()); } instObj = screen.getinstancenext(instObj); } }

See Also

getselectgroup

Viewer Ver.

9.1.1.1

Update Date

20140219