Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid
Message
 
 
À
13/09/2004 13:01:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Re: Grid
Divers
Thread ID:
00941650
Message ID:
00941651
Vues:
8
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform