Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pausing a form for less than a second
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 98
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01368114
Message ID:
01368154
Vues:
11
This works fine in the development enviroment, its only a problem I have had with with customers older machines.

>Does it work if you step through the code, after the line you set the picture property does the correct name&path show up in the property?
>
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform