Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Skipping a column
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01221540
Message ID:
01221556
Views:
18
>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform