How do I reference the window that is the parent of a Container

  1. 8 months ago

    Tim J

    12 Feb 2018 Pre-Release Testers, Xojo Pro Dehydrating in AZ

    If I have a code generated window with a code embedded container, How do I reference the Window from the container? I've tried Self.Parent, but while it doesn't cause a compiler error, the result is not what I expect (trying to open a sheet window in the parent).

    Dim WBackupJob1 As New Window
    Dim ccJob1 As New ccJobProgress
     ...
    WSheetStandy.ShowModalWithin Self.Parent

    The sheet never appears.

  2. Tim P

    12 Feb 2018 Pre-Release Testers feedback://46303,51561

    Try self.TrueWindow

  3. Tim J

    12 Feb 2018 Pre-Release Testers, Xojo Pro Dehydrating in AZ

    D'oh - and I knew that. It sucks getting old. :S

or Sign Up to reply!