Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Referencing grid objects
Message
 
To
01/02/1999 17:53:26
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00182747
Message ID:
00182926
Views:
13
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform