General information
Category:
Forms & Form designer
Hi Elyse.
>> I have a multi-selectable listbox on my form that I want to pre-fill when the form is loaded. I do this in the Init of the form, but by the time the form is activated the listbox has lost its values. Is there a better way of doing this? I don't know why it's losing its values. <<
One thing that will not initialize the value of a combo or list box is setting the selected property of one of its list items to true in the Init method of a form. The statement:
Thisform.MyList.Selected[1]
in the form's Init method, does not select an item in a combo or list box. This same statement in the form's Activate method will, however, achieve the desired result.
Marcia
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only