Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pausing a form for less than a second
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 98
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01368114
Message ID:
01368137
Views:
10
Rob,

Not put it in a container, is a graphic directly on the form.

>Is imgProgress a container on the form, possible it might be hiding the graphic
>Try the graphic directly on the form
>
>Disregard above, misread the message
>
>Are there imbedded spaces in the filename or path that you would need quotes around the picture name
>Try a graphic in the correct subdir
>
>
>
>
>
>>Rob,
>>
>>I pass the name & path of the graphic and in the INIT of the form:
>>
>>thisform.imgProgress.Picture=cimage
>>
>>>I don't think a delay will help here
>>>
>>>How and where are you defining your graphic element?
>>>
>>>>Hi Rob
>>>>
>>>>Tried to get the repaint of the form to run, but doesn't seem to work?
>>>>
>>>>>Hello Robin
>>>>>
>>>>>You can try using the forms paint or refresh events to force the updating of the form
>>>>>
>>>>>>Hi
>>>>>>
>>>>>>I have a form that I am using to display the progress of processing at different times.
>>>>>>
>>>>>>It has a progress bar that works, but I also have a graphic field on the form that is used to display an appropriate graphic based on the sort of processing that is being done at that time, eg picture of weather charts when loading weather data
>>>>>>
>>>>>>Because my form is obviously non modal, the graphic never gets chance to be displayed, i'm presuming because focus never sits long enough on the from?.
>>>>>>
>>>>>>Is there a way to "pause" my form, so Foxpro gets chance to catch up with itself and display the graphic?
>>>>>>
>>>>>>If I make the form modal as a test, the graphic appears correctly.
>>>>>>
>>>>>>TAI
Rob
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform