Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Header Picture
Message
De
05/10/2005 02:37:44
 
 
À
04/10/2005 19:47:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01056099
Message ID:
01056136
Vues:
26
This message has been marked as the solution to the initial question of the thread.
>Hi Everyone,
>
>I am trying to put picture on the grid header were the size of the .bmp file is 13x13. I had set the HeaderHeight to be 17. When I run it, the picture is cut-off at the bottom. Looks to be it's cut-off by 4 or 5 pixels.
>
>Anybody know how to set the Picture margin?
>I can't seem to find any picture margin on the grid header.
>I don't what to increase the HeaderHeight nor resize the .BMP file since it does not look good.

You cannot.
The format of the header is fixed, the picture is lined up with the Caption.
With Themed =.T. the picture is painted with (in order):
minimum 3 lines of border above
picture space
fixed 3 lines of shading under
fixed 1 line of black color (this is to bug)
and then the available space is HeaderHeight - 7.
With Themed =. F. the picture is painted with (in order):
fixed 1 line of edge above
picture space
minimum 3 lines of border above
picture space
fixed 3 lines of border under
fixed 1 line of black color (this is to bug)
and then the available space is HeaderHeight - 8.

Fabio
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform