Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Message Line
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00874225
Message ID:
00874320
Views:
17
This message has been marked as the solution to the initial question of the thread.
Harry, when you call the method to update the label message does your program then continue to do some processing? If so then the problem is that VFP does not refresh the form properly while intense processing goes on. The solution is to issue a small pause after updating the label message but before starting the processing. eg an INKEY(0.1) would do it. You can also try using DOEVENTS which should force VFP to update the form.


>I have a form that has a 4-page pageframe on it with a label object as a message line below the pageframe, (with some command buttons below the label object). I am using the message line instead of a WAIT WINDOW, and have a custom method on the form to call when I need to display a message. I use a parameter in the message-call to indicate whether the label caption is to contain nothing or a message.
>
>When I send a message to the method, (and change the mouse pointer to an hourglass), the mouse pointer is changed, but the message is not displayed. To research why, I put a SET STEP ON in the "show_message" method, and the message is then displayed while stepping through the code, and remains displayed until the "shut-off-message" call is made.
>
>Without the SET STEP ON, the message does flash very briefly when the "shut-off-message" call is made. Has anyone run across this? If I can't make it work, I'm back to the WAIT WINDOW to let the user know what is happening.
>
>Thanks,
>
>Harry
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform