Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid
Message
 
 
To
13/09/2004 13:01:10
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Re: Grid
Miscellaneous
Thread ID:
00941650
Message ID:
00941651
Views:
6
Gil,

Are you doing a second SELECT to populate the grid?

Any time you rip the cursor out from under a grid it'll destroy the columns/headers/controls and rebuild it from scratch with baseclass columns/headers/textboxes. If you can use a view the grid will not self destruct when you Requery("TheView"). Otherwise you can do something like this:
lcSave = this.RecordSource
this.RecordSource = ""
select ... ;
   from ... ;
   into cursor ... ;
this.RecordSource = lcSave
>I have a grid, when I search for a customer my grid lines stay in tact, but when I do another search my grid lines shrink so I can't read my headings, I want my grid lines to stay same size. Thanks
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform