Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sublassing Containers With OLE/ActiveX Controls?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00053392
Message ID:
00053401
Views:
23
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform