Password Prompt - How?
- Posted by Louis at cwshop.com
Sep 30, 2003
Thanks all for your previous help.
I'm stumped again. Here is a program I made out of example 07.
What I want is for the characters typed to display as blanks or asterisks=
because it is a password entry field.
How can I do that?
By the way, Example 07 uses the undocumented control "SleText" instead of=
"EditText". What in the world is that?
Wishlist item: Rework the examples in Win32Lib to use best practices.
Louis.
include win32lib.ew
without warning
classAutoSelect(EditText, True)
constant
Win =3D create(Window, "Enter Password", 0, Default, Default, 400,=
200, 0),
Button =3D create(PushButton, "Check Value...", Win, 180, 10, 120, 20,=
0),
Sle1 =3D create(EditText, "", Win, 10, 40, 120, 20, 0)
constant
aStatusBar =3D create(StatusBar, "", Win, 0, 25, 20, 20, 0)
procedure Click_Button(integer self, integer event, sequence parms)
sequence msg
msg =3D getText(Sle1)
setText(aStatusBar, msg)
end procedure
setHandler(Button, w32HClick, routine_id("Click_Button"))
WinMain(Win, Normal)
|
Not Categorized, Please Help
|
|