>>I was setting up a progressbar class today and ran into several problems.
>>
>>The first problem I encountered was that the OLE control I placed on my
>>container didn't have the correct properties set. I had subclasses this
>>OLE control, set the properties and then used the subclassed control on my
>>container. All the properties were the default ones.
>>
>>I thought I would get around this bit of buggery by setting the OLE properties
>>in the init of the container. This, however, was blatently ignored by the
>>OLE control.
>>
>>All I can think of to say is, "Huh?"
>
>In addition to the aforementioned problems, I also am having trouble placing
>any objects in front of the OLE control. For example, I tried putting a
>label to show the numerical percentage complete in front of the progress bar.
>It looks fine in design mode, but at runtime the label is hidden by the OLE
>control. I've tried refreshing the label and using Zorder to set it to the
>fore to no avail. Pah.
I ran into this one too. OLE control seems to be always on top.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison