I have changed the calls ::nStyle := ...... to
Code: Select all | Expand
::nStyle = nOR( WS_CHILD, WS_VISIBLE, if(oWnd:IsKindOf( "TDIALOG" ), WS_TABSTOP, 0 ) )
Is this right?
Code: Select all | Expand
::nStyle = nOR( WS_CHILD, WS_VISIBLE, if(oWnd:IsKindOf( "TDIALOG" ), WS_TABSTOP, 0 ) )