Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Retaining Grid Properties
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00249339
Message ID:
00249359
Vues:
28
>Thanks for the idea. Unfortunately, it did not work.
>
>
>>Try setting the recordsource propert to '' before making changes to the cursor and then setting it back to the name of your cursour after you are done.
>>
>>>Help!!!
>>>We are trying to create a grid from a table which is created dynamically based on a user selection. Everytime we set the recordsource property of the grid to this table, we lose all previously set properties of the columns. All coulmns appear resized and difficult to read unless manually re-adjusted. Without going through storing previous properties to arrays and then restoring them, is there another easier way to restore properties??? The field names for the table created will always be the same.
>>>
>>>Any help will be appreciated.
>>>
>>>Thanks,
>>>Binoy Warrier

You need to use .RecordSource = SPACE(0)
Don't use "".

This has been a long known issue with VFP grids and searching through long past messages here will find much to say regarding this issue and ways around it.

Steve
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform