ComboBoxDeleteString 함수는 윈도우 Control의 ComboBox의 특정 위치의 아이템을 삭제하는 기능을 한다.
void ComboBoxDeleteString(string classname, int index);
함수 인자
string class_name 편집기의 윈도우 control ComboBox오브젝트의 Class Name 이 된다.
int index 삭제할 index (예를 들어, 등록된 Data가 8개 라면 Index는 0~7까지를 갖게 된다.)
Return 값
Return 값은 없다.
예제
@ComboBoxDeleteString("ComboBox1", 0);
문장설명 : ClassName이 ComboBox1이라는 ComboBox의 Data에 10,20,30,40 이라는 4개의 숫자가 등록되어 있다면 0번째 index 즉 ‘10’ 데이터를 삭제한다.
관련항목