General information
Category:
Forms & Form designer
>>>>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
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