by Enrrique Vertiz » Tue Jul 20, 2021 7:12 pm
Saludos Karinha
aqui la linea de programa :
cPass:=space(10)
REDEFINE GET oPass VAR cPass ID 120 OF oDlg PICTURE "@X" VALID chkvalpas(cPass) ACTION ( oPass:lPassword := !oPass:lPassword, oPass:Refresh() )
aqui el dialogo del recurso :
CVINGPAS DIALOG FIXED IMPURE 101, 36, 298, 79
STYLE WS_POPUP|DS_MODALFRAME|DS_3DLOOK|WS_CAPTION|WS_SYSMENU|WS_VISIBLE
FONT 8, "MS Sans Serif"
{
CONTROL "", 110, "Edit", WS_BORDER|WS_TABSTOP, 92, 18, 187, 12
CONTROL "", 120, "Edit", ES_PASSWORD|WS_BORDER|WS_TABSTOP, 92, 35, 187, 12
CONTROL "&Aceptar", 998, "Button", BS_DEFPUSHBUTTON|WS_TABSTOP, 191, 61, 50, 15
CONTROL "&Cancelar", 999, "Button", WS_TABSTOP, 246, 61, 50, 15
CONTROL "&Acceso", 13, "Button", BS_GROUPBOX, 12, 2, 277, 55
CONTROL "", -1, "Static", SS_ICON, 18, 12, 18, 20
CONTROL "&Usuario", -1, "Static", SS_RIGHT|WS_GROUP, 42, 20, 44, 8
CONTROL "&Contraseña", -1, "Static", SS_RIGHT|WS_GROUP, 42, 37, 44, 8
CONTROL "&Acercade", 810, "TsSay", WS_GROUP, 3, 63, 55, 8
CONTROL "", 811, "TsSay", WS_GROUP, 66, 63, 66, 8
CONTROL "", 812, "TsSay", WS_GROUP, 139, 63, 45, 8
}
GRACIAS
Enrrique Vertiz Pitta
Lima-Peru
xHb 1.23.1026X, Fwh 24.09, BCC74, MySQL 8.0.X, SQLLIB 1.9m