Page History
...
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.
Code Block |
---|
Parent = @window Frame = Get_Property(Parent, "MDIFRAME") if len(Frame) then Parent = Frame end |