> On Sep 10, 2006, at 2:45 PM, Narinder Chandi wrote: > >> Hi. Using RB 2006 r3, I have a parent window which is of type >> Document with >> composite turned on. I then open a sheet window which is of type Sheet >> Window using : >> >> w = New MyWindow >> w.ShowModalWithin(Self) >> >> Where Self is obviously the parent window. I observe the following : >> >> 1) The sheet window CANNOT be Composite as any controls (I'm using >> Push >> Buttons, Popup Menus, Edit Fields and Radio Buttons) in the window >> don't >> show up. Is this a known problem? > > Why would you make it Composite? It's hard to guess as we don't know > much and I may not be of much help here.
Sorry I didn't explain myself properly - I tried setting to Composite to see if it would fix the issue with the overlapping controls, but I got this problem instead! >> 2) If I have stacked controls, enabling or controlling the >> visbility of >> controls doesn't work. I can work round this by positioning them a >> pixel off >> and code for this but it is a minor PITA! Is this a known problem? > > In the open events of the overlapping controls, set me.Parent=Nil. > That will eliminate any Parent/Child relationship and they can be > right on top of each other. As it stands, the first, in the Control > order, is the Parent. > Yes, right after I posted I remembered that I had done exactly this elsewhere! Thanks for the reminder! Regards, Narinder. -- ___________________________________________ | Narinder Chandi, | ToolBox Systems Limited, | Surrey, England, UK. | http://www.toolbox.uk.com |___________________________________________ | Consultancy * Development * Support |___________________________________________ _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
