Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shift-click and ctrl-click events in grid control
Message
De
28/10/1997 09:11:17
 
 
À
27/10/1997 23:36:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00056851
Message ID:
00056977
Vues:
36
>Edward,
>
>thanks for both of your replies. Actually had to code in both the keypress and mousedown events in order to accomplish a multi-select.
>
>Unfortunatly i've run into a big problem. In order to use the dynamic* attributes for proper coloring of the columns' text controls i have to use a view with a "selected" field to track row status. The problem is now if I hold down either the up or down arrows i'll get a "file is in use" error on REPLACE ALL v_test.s WITH .F., then after LOCATEing the proper record to set am getting "record is in use by another user" on REPLACE v_test.s WITH .T.
>
>There must be some buffering of keystrokes here? What do I do now?
>
>Doesn't make a difference which BufferMode is used or whether Private DS.
>
>I've spent ALL day on this and am getting NOWHERE fast.
>
>

I guess you will be better avoiding using a view and working with cursor, i.e. you just collect records from real table to cursor keeping primary key fields there, make multiple selections and run some 'return' procedure scanning the cursor. At least here you shouldn't worry about buffering, data sessions, etc.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform