Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid coloring, a new question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00419409
Message ID:
00419431
Vues:
36
When control gets focus in grid, cell will Show that control - this means colors of control will be used.
I usually set following properties for control inside read-only grid:
BackColor = Color of HighLighting
DisabledBackColor = Color of HighLighting
SelectedBackColor = Color of HighLighting
Fore Color... - the same (if you have)
Margin = 1
BorderStyle = 0 (no border)
In GotFocus Event I se SET CURSOR OFF and return it back when lost focus. This is to hide text cursor in cell. (Will not work when pages of pageframe swutched, sadly :( )
Put also shape under grid with Yellow color (color of highlighting). It will eliminate gray lines in some cases (lines with color of what is under grid).

>I have a grid where certain records are highlighted in yellow if they meet a condition...this works fine. However, when the user clicks on one of those rows in the grid, the backround color of that box turns white. Once they move to the next row or column, that new box appears white and the one they just left is back to yellow. I tried different properties, like HIGHLIGHT, HIGHLIGHTROW and SELECTONENTRY, but I can't find the solution. I also searched the thread and mostly just found info on setting the colors initially. Any ideas?
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform