>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