[Gambas-user] combobox in gambas-1.0.x (or even later)

Fabien Bodard gambasfr at ...11...
Mon Sep 5 09:48:05 CEST 2005


Le Dimanche 04 Septembre 2005 23:55, Charlie Reinl a écrit :
> Salut,
>
> something I mis or don't find, is in combobox somrthng like is called in VB
> DataItem (or so)
> What I mean is , I have a combobox called
>  'Countries' with
>  Text   'DataItem'
>  --------------------------------
>  'Germany' 'DE'
>  'France'  'FR'
>
>  or
>  called sex
>  Text   'DataItem'
>  --------------------------------
>  Mr   1
>  Ms   2
>
>  or
>  called user group
>  Text   'DataItem'
>  --------------------------------
>  root   0
>  wheel  25
>  ....
>
>  is there a possibility ?


You have already 2 soluce

1. Make an array that you call when click or ...
return MyArray[cboFilm.index]

2. sub classing the combo widjet in a classe by inherit of it



> Amicalment
> Charlie
>
>
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> 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