Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DynamicBackColor invalid expr if the grid has focus else
Message
De
22/05/2008 16:31:53
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01318705
Message ID:
01319114
Vues:
18
In a dynamic* expression this always refer to the grid itself.
Cetin

>As someone said, the problem may lie in the fact you're using this in your expression. What this is referring to?
>
>Try to provide the whole reference to the grid including the form, e.g.
>
>if (myAlias.myID <> 0 and thisform.myGrid.... , onecolor, anothercolor)
>
>Or better have it as a separate form's method.
>
>>Hi Cetin
>>
>>>What is your expression? I don't use GH but expression might ring bells.
>>
>>Does not look pretty to me :)
>>
IIF((NOT EMPTY(iID)) AND (THIS.coldemaildt.ENABLED AND (NOT THIS.coldemaildt.READONLY)), goApp.nBackColorFld, goApp.nBackColorForm)
>>
>>iID = 11
>>Enabled = .T.
>>Readonly = .T.
>>nBackColorFld = 13165780
>>nBackColorForm = 13160660
>>
>>Thanks for responding.
Ç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