>>>Not knowing where this fits in your application it's hard to be specific but it sounds like you need a 'read events' after setting the class to visible=.T.
>>>
>>>Bob
>>
>>OK, that did the trick. . .sort of. Now when change the visible=.t., the container displays behind the pageframe where I am calling it. How do I get it to display on top?
>>
>>TIA,
>>
>>Bill
>
>Bill, try this.ZOrder(0) in container.init()
>
>Nick
That doesn't seem to help. Interestingly enough, I am trying to get the container to display on a page of a pageframe where there are two other controls, cttree and cttext (ActiveX controls). It displays behind them but if I switch to a page without those controls, its on top. I tried to reorder the OCX controls (zorder(1)) but that doesn't help. (I hadn't yet frozen the ability to move from page to page when the container is up).
Any other suggestions? Maybe this container just has to be another form.
TIA,
Bill
CySolutions, Medical Information Technology
You're only as good as your last
success, so . . .If it works. . .don't fix it!