Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Weird behavior of 'Additem' and 'AddListItem' method
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00015486
Message ID:
00015654
Vues:
44
>>>I think that cursor would be natural RowSource for multi-column list. IMHO you could CREATE CURSOR..., INSERT ... FROM ARRAY ... and get whatever you want.
>>
>>You are right Edward, but if you need to let the user 'add' and 'remove'
>>items from the list you have to use addItem, removeitem, AddListItem, etc..., and to use those your RowSourceType must be 5 or Array.
>>Thanks anyway for the suggestion.
>
>Luis, you forget one important thing: if cursor was created using CREATE CURSOR..., you can delete/add/index records. It's very flexible in regard to list interactions.

Hi Edward,
I know that, but then I'm going to need to take care of
the 'Append' and 'Delete' in my cursor, and then 'requery'
to update my list, but anyways, this was just to let the
user to move items from one list box to another, I made it
with arrays because I found it easier to deal with AddListItem,
and RemoveItem. It takes care of almost everything for you,
but has that small bug, or do I need to say 'Feature'..
Luis Guzman, MCP
"The only glory most of us have to hope for
is the glory of being normal." Katherine Fulleton Gerould
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform