Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grids - Multi-select - Is it possible?
Message
 
 
À
05/03/2008 15:44:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Divers
Thread ID:
01298851
Message ID:
01299109
Vues:
21
>>Hi All,
>>
>>With a grid in vfp8, is it possible to get it to do multi-selection of the records?
>>
>>Can you point me to some examples?
>>
>>I have a single table, that I need to allow the user to view and delete or undelete as needed. No other editing of record is allowed. But they want to be able to highlight several rows and hit a button to mark records as deleted.
>>
>>TIA
>>Beth
>
>Okay, I did mix of both Sergey’s and Naomi’s suggestions.
>
>I copy the table into a cursor with an extra field for ‘marked for deletion’ and do my work on that. When they hit the buttons, then I loop through the cursor and mark the records in the table that match the records in the cursor. And refresh the cursor after action is done.
>

Out of curiosity, how does the user flag a range of records for deletion as you described? How do you detect the Shift-click and update the cursor?

PS -- I think you gave yourself solution stars ;-)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform