On 08/02/10 03:56, P. Hightower wrote:
> I've been trying to find an answer to this question all afternoon and can't
> seem to find it or figure it out from experimentation.
>
> I'm working on a small program that relies on ListBox controls for selecting
> an option. Right now the Form loads with the ListBox with nothing selected
> and a value of null. What I'd like is for the form to come up with a
> particular option in the ListBox preselected.
>
> I've tried setting a text value for the listbox from form_open but that only
> gives me an error saying the listbox.text is read only.
>
> What am I missing?
>   
You could use Setting for storing default and/or user set values.
http://gambasdoc.org/help/comp/gb.settings/settings

Regards
Werner


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to