Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid.TextBox.LostFocus and the same / different row
Message
De
14/09/2001 15:58:38
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00556603
Message ID:
00556754
Vues:
17
This message has been marked as a message which has helped to the initial question of the thread.
>>The AfterRowColChange Event seems to me a logical place to do all this manipulations. All you need is Current ActiveColumn property to un-color the header of previous column.
>
>Right, but I don't want to create my own grid class (though it now seems like an easier route, than I currently follow). Anyway, I spent the whole morning today working on those changes and I almost achieved the desired functionality from the TextBox point of view. Lots of pemstatus, though, and tricky code...

Since you already have your textbox class, simply check for active column in its .gotfocus (it would be this.parent.columnorder compared to this.parent.parent.LastActiveColumn) and set the colors accordingly, if needed.

Still, it would be easier to use grid.BRCC and grid.ARCC.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform