Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why my focus of a grid cannot roll down 1 row?
Message
From
16/08/1999 10:07:43
 
 
To
12/08/1999 03:42:41
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00252629
Message ID:
00254026
Views:
29
Yes, thanks. I just added "thisform.grid1.refresh()" then it works.

>Hi Power Wong.
>
>>> thisform.grid1.ActivateCell(thisform.grid1.ActiveRow + 1,1)
>thisform.grid1.setfocus()
>It still stay in the first column and row.
>How can it go to the 2nd row automatically after "append blank"? <<
>
>I assume you are aadding your new record in the keyPress of the Text box contained in the last column. After APPEND BLANK, use this code:
>
>
>WITH This.Parent.Parent
>   .Refresh()
>   .Column1.SetFocus()
>ENDWITH
>
>
>Should do what you want.
>
>Marcia
Power Wong
Every problem will have a solution, the only problem is that can you find it out.
Previous
Reply
Map
View

Click here to load this message in the networking platform