Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refreshing form necessary?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00027623
Message ID:
00027666
Views:
47
>>>>I have a form with 3 command buttons and when I click on
>>>>command1, it does a report preview and then when finished, the form comes back with only command1 button
>>>>showing. Do I need to refresh somehow? how?
>>>
>>>Before you call the report
>>>
>>>thisform.lockscreen=.t.
>>>&& <--- call the report
>>>thisform.lockscreen=.f.
>>>thisform.refresh()
>>>
>>>It's in my CommandButtonOK button but I believe that's what I've got there. (Have'nt looked at it in ages.)
>>>
>>>The screen ALWAYS comes back.
>>***********************************
>>THe below is the very simple code inside my command1 button:
>>
>>[[ jean.lockscreen=.t. <====your suggested code
>> * <--- call the report
>> *thisform.lockscreen=.f.
>> *&&thisform.refresh()
>>
>>
>>use csulog7
>>set filt to
>>set filt to isalp(left(method,1)) .and. subs(method,2,1)='9'
>>b='z'+sys(2)+'.idx'
>>inde on jon to &b
>>repo form jean prev
>>jean.lockscreen=.f.
>>jean.refresh() ]]]]
>>
>>I get error mess "object jean is not found" on this line when
>>I exit the report form. ANY IDEAS????
>>
>>"jean.lockscreen=.f."
>
>try [thisform] instead of the form name

I DID and IT WORKED!!!!!!
Does accomplishing this require my intervention by manually
coding as opposed to being designer handled?
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."
Previous
Reply
Map
View

Click here to load this message in the networking platform