Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with grid in VFP
Message
From
25/09/1997 14:08:09
 
 
To
25/09/1997 14:03:16
Hans Joustra
Hemm Information Systems
Calgary, Alberta, Canada
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00051631
Message ID:
00051632
Views:
31
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform