Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DynamicFontStrikeThru
Message
De
04/10/2003 06:27:00
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00835069
Message ID:
00835073
Vues:
23
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform