Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grids - Multi-select - Is it possible?
Message
De
05/03/2008 11:14:19
 
 
À
05/03/2008 11:03:12
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
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:
01298944
Vues:
29
>>>>>>>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.
>>>>>
>>>>>I have done this by using the delete mark column (grid.DeleteMark = .T.). That's an oldie but goodie which the users found intuitive. IIRC there was some logic in the form's Save method to be sure no clicks were posted to the DBF unintentionally.
>>>>
>>>>Hi Mike,
>>>>
>>>>This is what I started with, but basic grids do not allow multi-selection of records.
>>>>
>>>>And the grids people have pointed me to that do multi-selections, don't show the deleteMark. It is very frustrating.
>>>
>>>Isn't clicking the delete marks in multiple rows multi-selection? Maybe I am missing something.
>>
>>No, They want to be able to click one record, hold down the shift key, and click another record at least two records away from the first, up or down, and have all records between those 2 records be selected - that includes the 2 records clicked. Then they could also hold down the alt key and select other single records.
>>
>>Does that make sense?
>>
>>Beth
>
>Why not just use a list?
>
>The standard for selecting individual lines is Ctrl-click, by the way.

Oops, did not check my control combos, before writing that. sorry.

I do not use list, because they want to see deleted records.
Same problem just reversed. No delete marks in listbox. :(

I have a form that I did for them with listbox, but they just came back and said that they wanted to see which records were deleted. I am trying to simulate a browser window for them, without the ability to edit the fields and give them the multi select ability.

Nothing is ever simple. :)
Beth
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform