Workspace: Raise the CloseAll event after the close all button has been clicked.
[GB.FORM.MDI] * NEW: Workspace: Raise the CloseAll event after the close all button has been clicked.
This commit is contained in:
parent
3fcc897729
commit
0b73beec1d
@ -573,6 +573,8 @@ Private Sub CloseWindows(iMode As Integer)
|
||||
'CheckWindow
|
||||
{Unlock}
|
||||
|
||||
If iMode = CLOSE_ALL Then GetParent()._RaiseCloseAll()
|
||||
|
||||
End
|
||||
|
||||
Public Sub mnuCloseOther_Click()
|
||||
|
@ -12,6 +12,7 @@ Event Activate
|
||||
Event Close({Window} As Window)
|
||||
Event Attach({Window} As Window)
|
||||
Event Detach({Window} As Window)
|
||||
Event CloseAll
|
||||
|
||||
Property ActiveWindow As Window
|
||||
Property Read Windows As Window[]
|
||||
@ -133,6 +134,13 @@ Public Sub _RaiseDetach(hWindow As Window)
|
||||
|
||||
End
|
||||
|
||||
Public Sub _RaiseCloseAll()
|
||||
|
||||
Raise CloseAll
|
||||
|
||||
End
|
||||
|
||||
|
||||
|
||||
' Private Function ShowTitle_Read() As Boolean
|
||||
'
|
||||
|
Loading…
x
Reference in New Issue
Block a user