Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rotating a grid
Message
De
15/01/2004 15:27:55
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00867251
Message ID:
00867263
Vues:
18
>>>I would like to take an existing table and have it display the data in a grid, but I need the grid to be rotated 90 degrees so that:
>>>
>>>
>>>
>>>           Field 1      Field 2    Field 3
>>>--------------------------------------------------
>>>Record 1
>>>--------------------------------------------------
>>>Record 2
>>>--------------------------------------------------
>>>Record 3
>>>--------------------------------------------------
>>>
>>>becomes:
>>>
>>>           Record 1      Record 2    Record 3
>>>--------------------------------------------------
>>>Field 1
>>>--------------------------------------------------
>>>Field 2
>>>--------------------------------------------------
>>>Field 3
>>>--------------------------------------------------
>>>
>>>
>>>Is there an easy way to accomplish this that I am just overlooking?
>>>
>>>TIA,
>>
>>Change the Grid.View property to 1 or 3.
>
>Fred,
>
>This makes the grid rotate, but only one column - is there a way to do this so that the user can scroll horizontally to see more than one column of data?

No, you'd have to create a cursor with additional fields that looks like what you want in order to do that.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform