Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Clearing listbox
Message
 
 
À
02/02/1999 13:15:44
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00183027
Message ID:
00183051
Vues:
18
>>>>In another thread, Cetin and I discovered that if I want to put a picture in the listbox, I need to use ADDITEM.
>>>>
>>>>I can figure out how to add each item in the cursor to the grid. But manipulating it after that is the hard part. I need to:
>>>>
>>>>1. Remove all the items from the list to redo it.
>>>>
>>>>OR
>>>>
>>>>1b. Insert an item into the list, keeping it in order, and remove a certain item from the list.
>>>>
>>>>2. Associate a key with the item on the list and be able to get the key when the user clicks on an item.
>>>>
>>>>Thanks,
>>>>
>>>>-Michelle
>>>Michelle,
>>>Grid, listbox ? Can you elaborate it more (something different than listindex, indextoitemid etc ?).
>>>Cetin
>>
>>Listbox, of course. Look at the title. :)
>>
>>I've only used listboxes with cursors and I just looked at the current record in the cursor to find everything I needed. I don't know how to use a listbox with values. I was looking for a primer.
>>
>>-Michelle
>Then IndextoItemId, ItemIDtoIndex, addlistitem (rather than additem) might be what you're looking for (ie: set primary key as item id or its recno()).
>Cetin

I'll check those out. Thanks!

-Michelle
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform