Workspace.ActiveWindow (gb.form.mdi)

Property ActiveWindow As Window

Returns or sets the current active window.