Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DynamicFontStrikeThru
Message
From
04/10/2003 06:27:00
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00835069
Message ID:
00835073
Views:
22
>Hi all,
>
>
>I test DynamicFontStrikeThru Clause in a grid but it does not function.
>
>
>WITH oGrid.Column10
>    .FORMAT    = "KZR"
>    .INPUTMASK = "99.9"
>    .ALIGNMENT = 2
>    .DynamicInputMask 		= ;
[ IIF( INT( v_trimestre_lignes.nan_ponderee ) <>  ]+;
[v_trimestre_lignes.nan_ponderee , '@KZR 99.99' , '@KZR 99' )]
>    .DYNAMICFONTSTRIKETHRU = [ IIF( 1 + 1 = 2  , .T. , .F. ) ]
>  ENDWITH
>
>
>Who can explain me what occurs?
>VFP 8
>WINDOWS XP
>
>
>Thank in advance for help.
>
>MILCENT bernhart

Milcent,
I couldn't see something dynamic in that expression. It is same as saying :

IIF( .T. , .T. , .F. ) or directly .T.

If this is your real expression directly set FontStrikeThru. If is ther for sampling then missing piece is outer parentheses :

.DYNAMICFONTSTRIKETHRU = [( IIF( 1 + 1 = 2 , .T. , .F. ) )]

FWIW always have outer parentheses in your dynamic* expressions.
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