Test if modeless dialog closed
Posted: Fri Dec 08, 2023 8:34 pm
Anyone have any good ideas on how know when a modeless dialog has been closed?
EDIT: Never mind, I figured it out:
EDIT2: This is not reliable. It only works until a GUI message or two is sent. 
EDIT: Never mind, I figured it out:
Code: Select all
function scriptDialog:OnOK()
if (self.d == nil) then
--dialog has been closed with X button
end
end
