Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DynamicFontBold in a container
Message
De
07/02/2005 10:32:06
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
06/02/2005 18:47:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Divers
Thread ID:
00984331
Message ID:
00984451
Vues:
19
>>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?
>
>Hmmm.. I'm not sure whether I fully understand your grid's structure. Anyway...
>First I imagined that if you don't use DynamicFontBold, that DynamicFontBold will be False all the time and dynamically set the font to non-bold all the time, no matter what you do elsewhere. After some experimenting I now think that DynamicFontBold is not tested if not specified (hence the REAL default (None), which by the way is not documented).
>This opens the way to setting the fontbold in another way, but everything that I tried would only influence the fontbold of the WHOLE column. Perhaps you can define a Text2, set its fontbold to True and then influence CurrentControl.

This just gave me the idea... the container doesn't have any font properties, which is why the dynamicfont* doesn't apply to it. I'll try to add the .FontBold property to the container and see what happens.

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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform