Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLE Pops To Top Of Pageframe
Message
 
To
25/11/1996 12:06:04
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00013391
Message ID:
00013727
Views:
26
>We have been successfully using the outline control on forms. Yesterday I created a pageframe and used the outline control on two of the pages. The outline control (sometimes one, sometimes the other) bubble up (cannot think of better way to describe it) to the top and stay there when changing pages in the pageframe. If we release the form and reinstantiate it things a normal until the control comes to the top again -it's inconsistent. This behavior appears to occur more often when a modal form is triggered from a control on the pageframe . This triggering control can be on any of the pages. I've tried setting the visible property of the outline control when transitioning pages but when it comes to the top it is visible. I have resorted to setting the height and width to 0 to 'hide' the outline ocx but this is a really crummy solution. Any ideas or has any one else experienced this. I cannot move this app to VFP5 since the client still has a large population of WFWG machines.
>TIA Gary

Gary,
I ran into the same problem when creating the VFP demo for our new OCX product Solutions::PIM. When bringing a modal form on top of the OLE container, sometimes the control would appear through the objects on the form on top, and sometimes the objects in my pageframe under the modal form would all be out of alignment. I found this problem only occurred when I placed a modal form on top of an OLE container. This is a known bug with VFP 3's OLE container. A good work around is not to set your form to be modal, but rather to set it as always on top. This still allows the user to activate the form behind, but forces them to always look at the form on top. Not perfect, but definitely better than the alternative.

Hope this helps

Alan Shead
dbi technologies inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform