ListBoxGetSelCount

 

리스트 박스에서 현재 선택된 아이템의 총 개수를 알아본다.

 

int @ListBoxGetSelCount(string classname);

 

함수인자

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

 

반환 값

현재 선택되어 있는 아이템의 개수를 반환한다.

 

예제

count = @ListBoxGetSelCount("ListBox1");

 

문장설명 : ListBox1 클래스의 아이템 중 선택되어 있는 아이템의 개수를 count에 가져온다.

 

버전정보

최초지원: 9.3.8

 

관련항목

@ListBoxAddString()

@ListBoxDeleteString()

@ListBoxFillDir()

@ListBoxFillFile()

@ListBoxGetCurSel()

@ListBoxGetSel()

@ListBoxGetSelCount()

@ListBoxGetText()

@ListBoxResetContent()

@ListBoxSetCurSel()