>>Hello Everybody!
>>
>>I have a strange problem!
>>I use progressbar OCX control. In developer enviroment the control works well, but in EXE, (even on the same machine) the control is invisible, though I tried to set visible property to .t.
>>I got no error message. I tried sys(2333,0) before do form, with no success.
>>Can someone give a good advise?
>
>
>The progressbar is part of the common controls - which includes the list/treeview and the imagelist. Do you see the same things with these controls as well?
>
>I have not encountered this - so I am only giving you ideas here...
>
>Are you using Version 5 - Service Pack 3 of the control? If not - you may want to upgrade.
>
>Just some ideas...
Thanks your answer! Iuse serv pack 3. I dont use the two other control you mentioned.
I made some experiment with this progress bar. So, I can be more precise now.
I made a form only aprogress bar on it. I put a timer on it. The activate event of the form enables the timer and the timer event makes the work which should change the state of the progress bar. (The waiting time of timer is independent of the problem. I tried 0.1s-5s) In exe vesion the progress bar control doesnot appear.(stays invisible, but the form is became visible, and the progressbar object exist, and visible propery is .t.)
But if I use a normal proc., and the proc creates the form as object with a progress bar on it and the proc itself makes the work and thus changes the progressbar state, there is no problem.
Does it mean that a working process cannot be in the form, which contains the progress bar?
TIA
BB
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement