Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ListBox and Text
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
ListBox and Text
Divers
Thread ID:
00867901
Message ID:
00867901
Vues:
63
Hi,
I have a form with a ListBox called List1 and a TextBox called LastName .
The ListBox is linked to a table with 300 records and shows lNames -- from a - z -- and incremental search is on.

When I select the Listbox and type a letter of the alphabet, the ListBox jumps to the first lname starting with that letter. So far so good.
Now,
I want to have that lName appear in the TextBox when I select a name and then double click on it.

So, in the form Designer, with list1, I right clicked, then chose code, then DoubleClikc, and then tried to enter the following, neither of which worked:

thisform.LastName.Value = thisform.list1.Value

_screen.activeForm.LastName.Value = _screen.activeForm.list1.Value

I I select and then try to execute the lines, I am told that thisform and activeform can't be used. How can I refer to the material in a form then?

Can anyone help with this?
Thanks
Steve
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform