MDIFRAME property

MDI windows.

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() only.

mdiframe = Get_Property(windowID, "MDIFRAME")

Getting a Reference to an MDI Frame

Suppose you write code for the 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.

Parent = @window

Frame = Get_Property(Parent, "MDIFRAME")

if len(Frame) then

  Parent = Frame

end
  • guides/programming/programmers_reference_manual/mdiframe.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1