en el documento de andrew pitonyak viene un capitulo dedicado a formas y listbox:
http://www.pitonyak.org/AndrewMacro.odt El texto en resumen menciona: 1.1.1. List Box A list box provides a list of values from which you may select a value. You can choose to enable multiple selections. To add items to a list box, I usually use something similar to addItems(Array("one", "two", "three"), 0). It is also possible to remove items from a list box. For a single selection, you can use getSelectedItemPos() to determine which item is selected. A -1 is returned if nothing is selected. If something is selected, 0 means the first item in the list. For multiple selections, use getSelectedItemsPos() which returns a sequence of shorts. See: http://api.openoffice.org/docs/common/ref/com/sun/star/awt/XListBox.html El sitio de XListBox dice el desglozado de las opciones que entran en la interfaz de XListBox On 4/1/04, WhiteWolf <[EMAIL PROTECTED]> wrote: > > Saludos, > > > Trato de aprender el basic de esta suite pero me estoy volviendo > loco con los ejemplo de la guía de programación por que fallan mucho o > "yo" los hago fallar. > > ¿Alguien me pasa un código de rellenado, selección y borrado de un > ListBox? > > Gracias. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Alexandro Colorado
