>>>I'm starting to develop a project in VFP5.0. To create a form, I can't refresh objects after moving the record pointer. I create a navigating buttonset myself and don't know which code I should place in which method.
>>
>>Try ThisForm.Refresh after your Skip/Go top/etc. code, which will refresh every control on the form. If you have a pageframe on your form, it will refresh the controls on your ACTIVE page only, which saves a lot of time.
>>
>>HTH
>>Barbara
>>
>>Thank so much for your advice. It works so well. However, where should I place >Thisform.Refresh if I want to
>>write it only once in my form method.
>>Nond..
>
>I put it in the SetAll method of my form. I don't know whether it's the best, but it works..
>Nond..
Nond, if it works, great. I'm surprised, because I didn't think the setall method was called when the record pointer was moved. However, your program may have a setall command affecting colors or sizes. If so, then this WILL work as you want.
Glad you're successful
Barbara