My PageFrame class is essentially the same - it instantiates a cPgfManager hook object which, in turn, adds the page instances. Yes, the event tracking verifies the firing sequence for the UIEnable Event.
Here's the current problem: Each pages contains a presentation object (container class containing other controls) some of which require the REQUERY() of a parameterized view in the UIEnable Event of the presentation container.
Everything seems to work fine until a few pages are activated, after which the background color of a textbox or editbox changes (from white to grey) when the control recieves or loses focus. I can still edit the controls and all my TableUpdate(), TableRevert(), and Transaction code works flawlessly. It's just the damned background color.
There is no GotFocus / LostFocus Event code in any of these controls. I'm stumped.
>The only place I've ever used UIEnable is in my PageRefresher class. My cPageFrame class adds an instance to every page at Init() time. Have you tried using event tracking to check the full event sequence?
>
>>I've be experiencing some problems with the UIEnable Event of my presentation layer class when it sits on a Page of a child PageFrame (i.e. a pageframe within another pageframe).
>>
>>I think my problem is the UIEnable firing sequence of the contained objects when the page is being activated. It appears to go from intermost to outermost.
>>
>>Have you ever had any problems with this?
- Jeff