Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
![]() | Version 1.9 Build 1556 |
|
Package | display | |
Module | widgets | |
Tool | combobox |
first | The first item to delete | ||
Allowed: | Any valid item number from 0 to the end plus 'selected' and 'end' | ||
last | The last item to delete, if F just get the first | ||
Allowed: | Any index >= first or F | ||
Default: | F |
f := frame(); cb := combobox(f,'colors',"red blue green yellow amber saffron") # delete everything from the current selection to the end # the new selection is whatever immediately preceeds the current # selection or nothing, if 'selected' is item 0. cb.delete('selected','end')