VRCombobox
VisualuRuby(tmp) Reference
VRCombobox
Combobox is like Listbox, but Only one string is selected.
- addString(idx,str)
-
Adds str String at the idx.
When idx is omitted, str is added at the bottom.
- deleteString(idx)
-
Deletes string at idx
- countStrings
-
Returns the count of its strings.
- clearStrings
-
Deletes all strings.
- eachString
-
Yields each string.
- setListStrings(strarray)
-
Sets array of string ( strarray ) as the combobox strings.
- selectedString
-
Returns the selected index.
- select(idx)
-
Selects idx-th string.
- getTextOf(idx)
-
Retrieves the text of idx-th string.
- setDir(fname,opt=0)
-
Sets the filenames specified by fname to the combobox.
opt specifies the attributes of the files to be added.
- findString(findstr,start=0)
-
Finds findstr in the combobox strings and returns the its index.
start specifies the index to start finding.
- getDataOf(idx)
-
Retrieves the 32bit value associated with the idx-th string.
- setDataOf(idx,data)
-
Associates the 32bit value with the idx-th string.
- ????_selchanged
-
Fired when the selected string is changed.
VisualuRuby(tmp) Reference Index :
Project HomePage(English) :
Project HomePage(Japanese) :
Sourceforge vruby page
Generated at Sun Feb 24 01:29:05 +0900 2008