Chris,
I use an invisible shape object that I place on the page. In the UEIEnable event of this object I would place your code for the page
LPARAMETERS lEnable
IF lEnable
Lockscreen= .T.
form.datacrunch()
Lockscreen= .f.
ENDIF
The code in this event will only run once when the page is activated.
Yelena
>On page 3 of my pageframe I have a grid and handful of textboxes. When the page is activated, it does some heavy data processing including SQL work to populate the grid and textboxes with results of some of those calculations. Given the time it's taking to do the work, I wanted to display the page blank (so the user sees a quick response) and then fill in the data.
>
>I think "No problem. Refresh(), Lockscreen= .T., form.datacrunch()." Except that no number or location of Refreshes, Lockscreens - true or false, makes this happen the way I want. What or where should I be looking at to figure this out?
>
>Chris.