ListBoxGetSel

 

주어진 아이템 위치의 선택 여부를 알아본다.

 

int @ListBoxGetSel(string classname, int index);

 

함수인자

string classname : 리스트 박스의 클래스 이름

int index : 리스트 박스의 아이템 위치

 

반환 값

1을 return하면 해당 아이템이 선택되었고 0을 반환하면 아이템이 선택되지 않았다.

 

예제

Flag = @ListBoxGetSel("ListBox1", 3);

 

문장설명 : ListBox1 클래스의 네번째 위치(index:3) 의 선택여부를 알아본다.

 

버전정보

최초지원: 9.3.8

 

관련항목

@ListBoxAddString()

@ListBoxDeleteString()

@ListBoxFillDir()

@ListBoxFillFile()

@ListBoxGetCurSel()

@ListBoxGetSel()

@ListBoxGetSelCount()

@ListBoxGetText()

@ListBoxResetContent()

@ListBoxSetCurSel()