P is for Practical | |
PerlMonks |
Re: Win32:GUI Combo Boxesby Narveson (Chaplain) |
on Aug 31, 2009 at 16:11 UTC ( [id://792399]=note: print w/replies, xml ) | Need Help?? |
Thanks for showing code, and for keeping your code snippet down to a manageable size. Of course your code doesn't populate the data. Even if the AddComboBox method paid any attention to the -InsertItem hash key (which I doubt), that slot in the hash could still hold only one value, and each additional value would overwrite its predecessor. Try assigning the return value of your ComboBox constructor to an instance variable, so that you can call the InsertItem method on that instance.
I haven't tested this. Take a look at The Win32::GUI Documentation Project.
In Section
Seekers of Perl Wisdom
|
|