On Thursday 04 September 2008, Kari Laine wrote: > On Thu, Sep 4, 2008 at 10:35 PM, Sevoir <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > Thanks your answer, but problem still > > > > Regards, Sevoir > > > > 2008. 09. 4, csütörtök keltezéssel 21.26-kor Jacky ezt írta: > > > Le Thursday 04 September 2008 20:35:47 Sevoir, vous avez écrit : > > > > Hi All! > > > > > > > > I have a problem. > > > > I want get a Listbox item text value to a label.caption .. > > > > label.caption = ListBox.list(1) > > > > but I have an error message : > > > > Not a function > > > > > > > > What I mistaked? > > > > > > > > Regards, Sevoir > > > > > > Use label.Text is better no ? > > > > > > Jacky > > > > So basic problem is how to get specified element from to listbox. I can get > selected element by using the listbox.current.text. I also can get all > listbox elements by using listbox.list.join("|"). Listbox.list returns > array[]-type so it should be possible to index it - but as I am beginner > with Gambas - I don't know. I would also like to know so gurus tell us :-) > > Best Regards > Kari
You explain yourself the correctway already :) > Listbox.list returns array[]-type How do you access array elements? What about myllistboxtextarray[1] ? Best regards Ron_1st -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user