FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour problem oWnd
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
problem oWnd
Posted: Wed Mar 19, 2008 06:07 PM

in a method there is a command

          if GetClassName( GetParent( Self:hWnd ) ) != "TBAR"
                 oWnd = oWndFromhWnd( GetParent( Self:hWnd ) )
              else
              endif

How I can write to say that I must use this control into a dialog ?

Best Regards, Saludos



Falconi Silvio
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
problem oWnd
Posted: Wed Mar 19, 2008 06:20 PM

if Upper( oWnd:ClassName() ) == "TDIALOG"
...

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
problem oWnd
Posted: Wed Mar 19, 2008 06:31 PM

thanks Antonio

Best Regards, Saludos



Falconi Silvio

Continue the discussion