Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with grid in VFP
Message
De
25/09/1997 14:08:09
 
 
À
25/09/1997 14:03:16
Hans Joustra
Hemm Information Systems
Calgary, Alberta, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00051631
Message ID:
00051632
Vues:
36
>Good morning all,
>
>I have two problems with using a grid in VFP 5,
>
>1) The source for the grid is a table with several hundred records, so I do a set filter to fieldname = XXXX in the grid init method. The filter does not seem to be applied because at run time the grid still shows all the records in the table.

Be sure that you set filter on Grid.RecordSource table, and refresh grid after this. BTW, you can make it 100% reliable using DE.Cursor.Filter property.

>2) The same grid (which has two columns) is part of a tab sequence defined in a tablist.
>When I tab into the grid and the grid has focus, I cannot tab to the next object on the form but each tab toggles between the columns 1 and 2.

This is normal grid behaviour. If you want to change it, you should write some code in Grid.ColumnX.Lostfocus event.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform