포커스를 줄 컨트롤을 지정하는 API이다.
| Parameters | Type | Description | 
|---|---|---|
| bEnsureVisible | BOOL | 스크롤의 이동여부(true, false) | 
| bFocusAsync | BOOL | [옵션] 비동기 포커싱 처리 (기본값: true) | 
| Type | Description | 
|---|---|
| void | 없음 | 
* setfocus API와 다른 점은 포커스를 줄 컨트롤이 스크롤 외 영역에 있다면 화면 안에 보이도록 스크롤을 함께 이동한다는 점이 다르다. * setfocusex API는 아래와 같은 API를 동시에 쓴 효과이다. 컨트롤.ensurevisible(); // 스크롤 이동 API 컨트롤.setfocus(); // 포커스 API
function btn_setfocusex_on_mouseup()
{
	// 오브젝트에 포커스를 주면서 화면에 나타나도록 화면 스크롤 이동
	var instObj = tabTest.getchildinstancebyname(1, "btnclear");
	if(factory.isobject(instBtn)) {
		instBtn.setfocusex(true);
	}
}