Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid row color and highlight
Message
De
30/06/2016 10:48:41
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Divers
Thread ID:
01637831
Message ID:
01637832
Vues:
55
>Hi,
>
>I am attaching two images to this message.
>
>1st image shows the grid where the row is highlighted but there are white lines above and below the text. I think it is because I set the height of the row to a number larger than the height of the text. How do I eliminate the white lines above and below and make the entire background solid blue (or whatever color)?
>
>2nd image shows the same grid but when I click on a row, the row is not highlighted (even though the grid property HighlightRow is set to .T.).
>How can I make this to highlight on click just like the image 1?
>
>TIA

To eliminate the border, set the .BorderStyle property of the textbox inside the column to 0. If you set the .AllowCellSelection property of the grid to .F., cells are highlighted in full (this has effects on the way the grid responds to user action, but if you want just to select a row then it's probably ok).
----------------------------------
António Tavares Lopes
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform