Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox woes
Message
From
12/06/2001 08:02:25
 
 
To
28/12/2000 09:50:03
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00457316
Message ID:
00518279
Views:
13
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
Map
View

Click here to load this message in the networking platform