[Gambas-user] Draw Units (again)

Iwan Prasetyo iwan at ...519...
Thu Sep 16 03:08:11 CEST 2004


Listbox1.Index and Combobox1.Index as you did in VB for List1.ListIndex and
Combo1.ListIndex if you still want to retrieve number instead of text.
 
For List and Combo
in VB: .ListIndex
in Gambas: .Index
 
Hope it will help u...
 
Regards,
 
Iwan Prasetyo
----------------------
#gambas on Dalnet

  _____  

From: gambas-user-admin at lists.sourceforge.net
[mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Hugh Foster
Sent: Wednesday, September 15, 2004 18:39
To: 'gambas-user at lists.sourceforge.net'
Subject: [Gambas-user] Draw Units (again)



[This keeps coming back blank so I'm trying through the webmail] 

Hello, list, and my apologies for the likely long list of hoary old
questions I will probably be asking here :) 

Two to kick off with 

What units is the Draw command working in please? 

In VB i used list1.itemdata(n) and list1.selected(n) (or .listindex) a lot
to manipulate items chosen in lists and combos. Is there a GAMBAS
equivalent?


I love this program! Fifteen years' VB programming and now I can take it
with me Penguin-wards :) 


________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040916/b5d34cc8/attachment.html>


More information about the User mailing list