
When I Open the Window child I made
CLASS TPaziente
DATA oWin
METHOD New() CLASS TPaziente
....
if ::oWin == nil
::oPaziente := TClienti():New()
::oPaziente:SetOrder( "FIRST" )
::oPaziente:GoTop()
::cTitulo := ""
DEFINE ICON ::oIcon RESOURCE "
DEFINE WINDOW ::oWin MDICHILD
....
else
::SetFocus()
endif
RETURN Self
this is to avoid opening the same window
but unfortunately it does not work because it reopens again how can I not make the same window open again?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com

