본문으로 건너뛰기

isBackgroundFormLoaded

Description

지정한 백그라운드 폼이 현재 메모리에 로드되어 있는지 여부를 반환합니다.

숨겨진 상태(hideBackgroundForm)이더라도 로드된 상태이면 true 를 반환합니다.

Parameters

파라미터타입설명
formPathString확인할 폼의 경로

Returns

타입설명
bool로드되어 있으면 true, 로드되지 않았거나 닫힌 경우 false

Notes

  • 표시(visible) 여부와 무관합니다. 숨겨진 상태도 true 입니다.
  • 표시 여부까지 확인하려면 isBackgroundFormVisible() 을 사용하세요.

Example

// 로드 여부 확인 후 조건부 열기
if (!$app.isBackgroundFormLoaded("alarm/watcher")) {
$app.openBackgroundForm("alarm/watcher", null, null);
} else {
$app.showBackgroundForm("alarm/watcher");
}
  • $app.isBackgroundFormVisible(formPath) — 로드 + 표시 여부 확인
  • $app.openBackgroundForm(formPath, linkArg, callback) — 폼 로드 및 열기
  • $app.closeBackgroundForm(formPath, result) — 폼 종료 및 메모리 해제