Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Toolbar VCR buttons not refreshing open window
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00040692
Message ID:
00040700
Views:
29
>I am using Visual Foxpro 3.0 for Windows.
>
>In my app I use a toolbar that allows users to skip forward and back in the main application table. This worked well in my project since I had converted it from FP 2.6. Each time I would issue SKIP or SKIP -1 then I would issue a SHOW gets and the window that is open with data on it would update.
>
>I am now using text boxes to display the data on the form, but I have not made them @say compatible. They thus will not update when the SHOW GETS is issued. So... how do I update the form to show the new values.
>
>Remember, my toolbar has the skipping buttons, not the form, so issuing a THISFORM.REFRESH does not work. Also, any form can be open and used with the toolbar, so I can't say GOODFORM.REFRESH since I won't know which form is open.
>
>Make sense? Can anyone help?
>
>Sincerely,
>Evan Delay

Evan, check out _screen.activeform.refresh().

_screen refers to the basic VFP window. Activeform is the form actually open at the time.

Also, if you want to check ALL the forms open, use _screen.formcount()

HTH
Barbara
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform