Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
>I've got a grid in a form that is too wide for the form. The users can scroll to see all the information, but asked if it was possible to split each record into two lines so all the information could be seen at once. For example, here's how it is now:
>
>field1 field2 field3 field4 field5 field6 field7 field8
>field1 field2 field3 field4 field5 field6 field7 field8
>field1 field2 field3 field4 field5 field6 field7 field8
>
>What they'd like is:
>
>field1 field2 field3 field4
>field5 field6 field7 field8
>field1 field2 field3 field4
>field5 field6 field7 field8
>field1 field2 field3 field4
>field5 field6 field7 field8
>Is this doable? If so, can someone please point me in the right direction?
>Thanks!
Yes, basically create a custom class based on the container, then add two textboxes to the class (one above the other). Then add this custom class to the grid column and set the control source to the container. Set the control sources for the contained textboxes to the appropriate fields. Also, you will need to have some methods that fire on column/row resize to resize the textboxes. You can do quite a bit of layout using this method.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement