Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with grid in VFP
Message
 
To
25/09/1997 14:08:09
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00051631
Message ID:
00051701
Views:
30
>>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.

Also Ctrl+TAB allows you to leave the grid and go to the next control.

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform