Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Skipping a column
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01221540
Message ID:
01221556
Vues:
11
>>>Is there a more convenient way to reliably skip a column in a grid than having the text1.when() event return .f.?
>>>Is it just me or is the setfocus() method not reliable in a grid?
>>
>>AFAIK it is reliable, and When returning .f. is a good way to skip a column. What exactly the problem with your grid?
>
>My problem with when is that I cannot inherit the method. I'd like to handle the "skipping" (i.e. just that Nancy, skipping), by just setting a property in the child grid, say column.readonly and then having the parent grid handle the skipping.
>
>Edward, it is probably me, but this.column[IWannaGoTo].text1.setfocus in this.column[IWannaJumpFrom].lostfocus gives erratic results, and face it even worse on the object orientation scale.
>
>Thanks already.

You probably want to use ActivateCell method instead. Check this sample http://tek-tips.com/viewthread.cfm?qid=1362055
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform