7.12. Translating IndexesThe index method translates an index specification (such as "active") into the numerical equivalent. For instance, if the Listbox contains 12 items, $index = $lb->index("end") sets the variable $index to 11. (Remember the first item in a Listbox is at index 0.) Copyright © 2002 O'Reilly & Associates. All rights reserved. |
|