Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid & Activate Cell upgrade quirk
Message
 
À
13/10/1998 12:21:30
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00145831
Message ID:
00146370
Vues:
54
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform