How to Set User Name and Password in GUI ..... password must be invisbile..... pls brefily explain about any one about code

6 次查看(过去 30 天)
dear friends. i want to set a username and password for the login form with invisible password code .... anyone know this
pls send code and explain brefily......hope reply will come soon
  1 个评论
lakshmana prabu
lakshmana prabu 2016-1-4
编辑:Walter Roberson 2016-1-4
a=get(handles.edit1,'string');
b='123456';
l=strcmp(a,b);
if l==1
msgbox('rightpwd');
set(handles.edit1,'string','');
else
msgbox('wrong pwd');
set(handles.edit1,'string','');
end
sir i dont know to create user name function but i set password but its visible i need to invisible to show the password so u try to send full code sir... actually i search in file exchange but the code not much more worth. so pls

请先登录,再进行评论。

回答(1 个)

Walter Roberson
Walter Roberson 2016-1-4
Search the File Exchange for "password"
  1 个评论
lakshmana prabu
lakshmana prabu 2016-1-4
编辑:Walter Roberson 2016-1-4
=get(handles.edit1,'string'); b='123456'; l=strcmp(a,b); if l==1 msgbox('rightpwd'); set(handles.edit1,'string',''); else msgbox('wrong pwd'); set(handles.edit1,'string',''); end
sir i dont know to create user name function but i set password but its visible i need to invisible to show the password so u try to send full code sir... actually i search in file exchange but the code not much more worth. so pls

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by