Le 6 janvier 2010 16:56, Benoît Minisini
<[email protected]> a écrit :
>> Attached is a screenshot of what I'm talking about. I've tried both GTK
>> and QT toolkits, and it seems to do the same thing with both. Shouldn't
>> the entries "jump" from one to the next, and not let you stop anywhere
>> in-between, as is shown in the screencap? Any ideas? I'd prefer a
>> combo-box, but I need to be able to keep track of a "hidden" index value
>> that goes along with each selection in the list.
ok so for the hidden index value :
private aHiddenValue as new Integer[]
public sub Form_load()
For i = 0 to 100
ComboBox.Add("value")
aHiddenValue.Add(iHiddenValue)
next
end
Public sub ComboBox_Click()
ivalue = aHiddenValue[combobox.index]
end
>>
>> BTW, Benoit, you've rekindled my interest and joy in programming with
>> GAMBAS. It's the best present I've gotten in a long time. Thanks.
>>
>
> Sorry, I can't do anything against that behaviour that is deeply implemented
> inside GUI toolkits.
>
> Regards,
>
> --
> Benoît Minisini
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> Gambas-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user