METHOD DispText() CLASS TGet
if ::lPassword .and. ::oGet:Type == "C"
#ifdef __CLIPPER__
SetWindowText( ::hWnd, Replicate( "*", Len( Trim( ::oGet:buffer ) ) ) )
#else
SetWindowText( ::hWnd, Replicate( If( IsAppThemed(), Chr( 149 ), "*" ),;
Len( Trim( ::oGet:buffer ) ) ) )
#endif
ElseIf ::oGet:Type == "N" .and. Val( ::oGet:buffer ) == 0 // Añadir estas lineas
SetWindowText( ::hWnd, " " ) // y esta otra y muerto el pollo
else
SetWindowText( ::hWnd, If( ! Empty( ::cCueText );
.and. Empty( ::oGet:VarGet() );
.and. GetFocus() != ::hWnd,; // Focus is outside
"", ::oGet:buffer ) )
endif
return nil
Return to FiveWin para Harbour/xHarbour
Users browsing this forum: jose_murugosa and 43 guests