Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid & Activate Cell upgrade quirk
Message
 
To
13/10/1998 12:21:30
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00145831
Message ID:
00146370
Views:
53
>Instead of using columns' indexes what about using names or controlsources ? * Set focus to myName field
>with thisform.myGrid
>for ix = 1 to .columncount
> if upper(.columns(ix).controlsource) = ;
> upper(.recordsource+".myName")
> .columns(ix).setfocus()
> endif
>endfor Cetin

That's a good idea! I've got it sussed now but would be good practice for future developments. I'm interested that you have all that clustered in a "With". I knew you could call methods as well as set properties but I didn't know you could have other bits of programming. Very interesting. I know of some code which could be made much easier...
Sarah
Sarah King
pcpropertymanager.com
Previous
Reply
Map
View

Click here to load this message in the networking platform