Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLE Pops To Top Of Pageframe
Message
From
28/11/1996 03:12:49
Andrzej Majlich
Vulcan sp. z o. o.
Wroclaw, Poland
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00013391
Message ID:
00013764
Views:
28
>>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 have had the similiar problem: when releasing modal form, all outlines on all pages "bubble up".
We managed this by calling a method:

x=...active page
y=...page without outline control
=thisform.Hide()
=thisform.pageframe.pages[y].ZOrder(0)
=thisform.pageframe.pages[x].ZOrder(0)
=thisform.Show()

It looks magic but works.
_________________

*|| Andrzej [NJ].
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform