Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== MDIFRAME property ====== ==== Applies To ==== MDI windows. ==== Description ==== Returns the name of the MDI frame for an MDI child window, or null if the specified window is not an MDI frame or child. Use with [[get_property|Get_Property()]] only. ==== Usage ==== //mdiframe =// **Get_Property**(//windowID//, "**MDIFRAME**") ==== Example ==== Getting a Reference to an MDI Frame Suppose you write code for the [[click_event|Click event]] of a button and you need a reference to a window's MDI Frame, if it exists. The code below will get that reference. If the MDI frame does not exist, the variable Parent will return @window instead of the MDI frame reference. <code> Parent = @window Frame = Get_Property(Parent, "MDIFRAME") if len(Frame) then Parent = Frame end </code> guides/programming/programmers_reference_manual/mdiframe.txt Last modified: 2024/06/19 20:20by 127.0.0.1