https://www.hamor.ro/distr_ext/Doc/xHb/ ... _f.en.html
Code: Select all | Expand
// The example shows a typical scenario for GetSecret().
// The user must enter a password which is not displayed on
// the screen
PROCEDURE Main
LOCAL cPassword := Space(20)
CLS
SET CONFIRM ON
cPassWord := ;
GetSecret( cPassword, 10, 10, .T., "Enter your password: ")
IF cPassWord <> "xHarbour"
Alert( "Access denied" )
QUIT
ENDIF
Alert( "Access granted" )
RETURN
LIB: xhb.lib
DLL: xhbdll.dll
xHarbour Comercial?
C:\XHBCOM\dll
3/09/2023 16:49 2.922.496 xHBDll.dll
1 arquivo(s) 2.922.496 bytes
Gracias.
Regards, saludos.