[Gambas-user] Listbox

Fabien Bodard gambasfr at ...11...
Fri Jul 9 23:19:28 CEST 2004


Le vendredi 9 Juillet 2004 20:11, Gianni Piccini a écrit :
> On Thu, 8 Jul 2004 23:44:07 +0200, you wrote:
> > simply do
> >
> > var = listbox1[index].text
>
> aaargh, I was sleeping :-) Thanks, next problem is to find a way to see and
> set the topmost item of the listboxes: for example, have at the top of both
> listboxes the same item, still an example in vb to explain,
>
> list1.topindex = list2.topindex

hu?

i don't understand what do topindex....
mabe
list1[0].text = list2[0].text
or list1[0] = list2[0]

or list1.add(list2[0].text, 0)

please read gambas help before ;-)

http://binara.com/gambas-wiki/bin/view/Gambas/GambasComponentQtListBox


fabien Bodard

>
> -------------------------------------------------------
> This SF.Net email sponsored by Black Hat Briefings & Training.
> Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
> digital self defense, top technical experts, no vendor pitches,
> unmatched networking opportunities. Visit www.blackhat.com
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user




More information about the User mailing list