Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Referencing grid objects
Message
 
À
01/02/1999 17:53:26
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00182747
Message ID:
00182926
Vues:
12
>Hope this partial code helps :
LPARAMETERS nColIndex
>[snip]
> if !empty(.columns(nColIndex).dynamiccurrentcontrol)
> cCurrentControl = eval(.columns(nColIndex).dynamiccurrentcontrol)
> else
> cCurrentControl = .columns(nColIndex).currentcontrol
> endif

Very helpful, thank you (of course it does more than I was trying to). The only thing I don't understand is why you're using EVAL() on dynamiccurrentcontrol. Doesn't it contain a string, the name of the current control, just like currentcontrol does? Why EVAL() one and not the other?

Thanks,
Rich.
Rich Addison, Micro Vane, Inc., Kalamazoo, MI
Relax, don't worry, have a homebrew.
- Charlie Papazian, The New Complete Joy of Home Brewing
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform