Is there a way to find a dialog which is active. It is a resource dialog and was Activated with "NOMODAL"
I would like to detect if it is on the screen somewhere and close it if need be.
Thanks,
Byron ...
//----------------------------------------------------------------------------//
//
Function BuscaDialog( cTitle )
local nAt := Ascan( GetAllWin(), { | w | Upper( w:cCaption ) == Upper( cTitle ) } )
if !Empty( nAt )
? nAt, GetAllWin()[ nAt ]:ClassName()
endif
// XBrowse( GetAllWin() )
Return nil
//
//----------------------------------------------------------------------------//
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 47 guests