
26/09/2011, 10:18
|
 | | | Fecha de Ingreso: septiembre-2009
Mensajes: 502
Antigüedad: 15 años, 7 meses Puntos: 47 | |
Respuesta: Usuario en statusbar En el boton OK en tu LOGIN puedes guardar el nombre del usuario antes de mostrar el FORM PRINCIPAL, osea:
'FORM LOGIN
strUsuario=trim(txtUSERNAME.text)
frmMAIN.SHOW
Entonces en el LOAD del FROM PRINCIPAL
'LOAD FROM PRINCIPAL
StatusBar1.Panels(5).Text = "Usuario:" & strUsuario
Como dices, debes tener a "strUsuario" como una variable global, preferiblemente en un modulo
PUBLIC strUsuario as string |