Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DynamicFontBold in a container
Message
De
06/02/2005 17:16:17
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
DynamicFontBold in a container
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Divers
Thread ID:
00984331
Message ID:
00984331
Vues:
84
I've created a nice hierarchical grid by instantiating a set of containers, one per level. The container holds the usual textbox, and both the container and the textbox are transparent, so the underlying color shows through (colors denote levels, as does the textbox's .left). The dynamicCurrentControl is decided by hierarchy level.

By this transparency and the manipulation of the .left of the textbox I've made this work and look nice. Now I wanted to do one more thing: dynamic font bold for the current branch of the hierarchy, just to give the user a visual clue which records belong to it.

For the columns where the current control is simple, this works. However, the textbox permanently have .fontbold=.f. and I don't really know how to make this happen (short of evaluating the DynamicFontBold expression of the column, which I expect may be slow). [update: it actually doesn't work, as I have to set it in the refresh of the container, and so it works only for the current row's container]

Any ideas?

back to same old

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

Click here to load this message in the networking platform