Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Highlighted Row Color Problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00217155
Message ID:
00217226
Vues:
15
>>>>>>I have a grid class that I just added current row highlighting color features to. However at runtime, the cell that the user is currently sitting on has two little rectangle vertical tick marks on the left and right side of the cell. What properties do I set to make those tick marks go away.
>>>
>>>What controls? Just ordinary textbox? I've seen this before, and found a way to fix it, but have now forgotten exactly what the cause & fix were :)
>>
>>Check the margin property of the textbox.
>
>Aha - you guys were both partly right - it's a combination of Backstyle and Margin that does it...

On the text box in the grid I set:
BackStyle = 0 - Transparent
Margin = 0
SpecialEffect = 1 Plain

Now I have a nice clean black thin border on the current cell. If I set the BackColor to the be the same as DynamicBackColor as well I get what I want. I just do not see these settings being talked about in the VCX examples here or when looking up past messages on UT. Maybe everyone else just likes the tick marks ?

I am working on adding these changes in my base class via SETALL() when lActiveRowEnable = .T.
What ben makes tracks for what wil be. Words in the air pirnt foot steps on the groun for us to put our feet in to.

Riddley Walker
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform