Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DynamicBackColor invalid expr if the grid has focus else
Message
De
24/05/2008 16:33:51
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
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:
01319376
Vues:
16
>>In a dynamic* expression this always refer to the grid itself.
>>Cetin
>>
>
>Yes, I know that, but it didn't look like it was used in this way in the original expression.

We may need a wiki topic about the context in which code runs. We have several cases when the called code may see things differently than the calling code, or we even don't have the caller.

Some of these weird contexts may be:

- On Key Label do xxx - xxx executes in current data session, and has no clue about thisform, this, and doesn't even know which form is active until it gets a reference to it. Knows no variables but the public ones
- execscript() - this should run in the current datasession, may see caller's private( variable)s
- snippets called from various points in the menu system (on pad, on bar, set skip to {function call}, setup/cleanup code), or in the rightclick menus
- function call in a sql column
- function call in dynamic properties of grid's columns
- snippets in a report (band entry/exit, DE code)
- trigger code

Did I miss anything?

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform