Symbianize Forum

Most of our features and services are available only to members, so we encourage you to login or register a new account. Registration is free, fast and simple. You only need to provide a valid email. Being a member you'll gain access to all member forums and features, post a message to ask question or provide answer, and share or find resources related to mobile phones, tablets, computers, game consoles, and multimedia.

All that and more, so what are you waiting for, click the register button and join us now! Ito ang website na ginawa ng pinoy para sa pinoy!

HElp naman bossing sa VB6

anay88

Novice
Advanced Member
Messages
31
Reaction score
0
Points
26
Bossing pa share naman po ng code ng show and hide sa visual basic 6.0


example po design ako ng 2 text para sa username password

4 command buton dlawng buton ay para sa login isa naman para exit ang problema ko yung pang show and hide
gusto ko sanang mangyari pag click ko yung SHOW PASSWORD button eh llabs yung password

yun lang po sana po patulngan po ninyo ako sa code po thanks

View attachment 330963View attachment 330964View attachment 330963

ITO PO PICTURE

PASHARE NG CODE PO PRA SA SHOWPASSWORD
 

Attachments

  • show passord.png
    show passord.png
    47.5 KB · Views: 23
  • show passord.png
    show passord.png
    47.5 KB · Views: 12
Hindi ako marunong sa VB6 pero try mo toh:
1) add control variable to "Password" edit control
2) set "Password" property of edit control

search mo na lang kung pwede nga yan.
 
ilagay mo sa command ng showpass mo

textboxname.PasswordChar = ""
 
Bossing pa share naman po ng code ng show and hide sa visual basic 6.0


example po design ako ng 2 text para sa username password

4 command buton dlawng buton ay para sa login isa naman para exit ang problema ko yung pang show and hide
gusto ko sanang mangyari pag click ko yung SHOW PASSWORD button eh llabs yung password

yun lang po sana po patulngan po ninyo ako sa code po thanks

View attachment 1232937View attachment 1232938View attachment 1232937

ITO PO PICTURE

PASHARE NG CODE PO PRA SA SHOWPASSWORD
Code:
username = txtUserName
password = txtPassword

module-level na public variable. lagay mo lang po sa pinaka taas ng part nung codes mu.
Code:
 Private Const strDelim as String = "[ung character na gusto mo]" 
 Private boolShowPass as Boolean


eto ung sub pagka load ng form
Code:
Private Sub Form_Init()
  txtPassword.PasswordChar = strDelim
  boolShowPass = False
End Sub

Code:
Private Sub cmdCreate_Click()
  txtPassword.PasswordChar = strDelim    '<~ Default na nka hide ung password
  boolShowPass = not boolShowPass        '<~ Change value para ma check kung i-hide/show
  If boolShowPass then txtPassword.PasswordChar = ""    '<~Hide lang kpag true ung boolshowpass
end sub
 
Back
Top Bottom