Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Use DynamicFontBold etc?
Message
From
09/09/1998 02:18:58
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
08/09/1998 16:02:24
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00133902
Message ID:
00134340
Views:
13
>>Harry,
>>
lResult = (Name = "B")
>>* and
>>lResult = iif(Name = "B",.t.,.f.)
give the same result. So it shouldn't be your problem. I wonder, might have you placed an "=" sign in front of iif() so the expression is evaluated for current rec and result (.t. or .f.) is applied ? If you've use expression builder (fx) it places that "=".
>>Cetin
>
>hmmm... I thought it looked too simple! Tried it and no improvement. And yes I did use the expression builder so it did place a prior '=' sign in front of the expression. Come to think of it, I haven't tried doing it without the '=' but if that works I think I'll be even more confused! We shall see...

As also Pamela said, if you use "=" (evaluate) sign, it's evaluated for one record and the result is applied to all. So you would get all Bold or none bold. If you use "=" also quote it or simply don't use "=". Dynamic* need an expression, not a value. That expression is reevaluated dynamically for each grid control refresh.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform