Computer Science Canada Turing Password Field? |
Author: | lord_pwnerer [ Thu Dec 21, 2006 5:14 pm ] |
Post subject: | Turing Password Field? |
Is there a way to make a textbox display asterics, but still be able to getText of the textbox, and have what they actually typed? (not asterics) Thanks. |
Author: | uberwalla [ Thu Dec 21, 2006 5:23 pm ] |
Post subject: | |
ok do you mean when you type it puts asterixes but when you say put it shows the word? |
Author: | Hackmaster [ Thu Dec 21, 2006 5:26 pm ] |
Post subject: | |
easy peasy!! do a setscreen("noecho") then, do a loop for getch's. when they hit enter, loop exits. every time through the loop, you want to put an asterisk wherever you want to, be it a textbox, or whatever. ok? |
Author: | uberwalla [ Thu Dec 21, 2006 5:38 pm ] | ||
Post subject: | |||
i found a old password thing i had. here ya go:
|
Author: | Hackmaster [ Thu Dec 21, 2006 5:45 pm ] | ||
Post subject: | |||
not quite what I had in mind... How about something like this?
bear in mind... it's puesdo code...lol... something like that! |
Author: | lord_pwnerer [ Thu Dec 21, 2006 5:45 pm ] |
Post subject: | |
What I want is, when the user types in the text field, it displays asteriks, but when I use the GUI.GetText command, I get what they actually wrote. Is this possible? |
Author: | uberwalla [ Thu Dec 21, 2006 5:46 pm ] |
Post subject: | |
im sure it is ill take a look at it cuz im not sure bout gui textbox thing. |
Author: | Clayton [ Fri Dec 22, 2006 10:17 am ] |
Post subject: | |
there's an example of just this somewhere in the Turing Examples, look through it and see what you find. |
Author: | lord_pwnerer [ Fri Dec 22, 2006 6:22 pm ] |
Post subject: | |
I can't seem to find it. Does this way that your talking about function with textboxes? |
Author: | lord_pwnerer [ Fri Dec 22, 2006 6:33 pm ] |
Post subject: | |
Really sorry about this guys, there actually are numerous posts about the exact same subject. I did search before I started the new topic. but.... Sorry Thanks for your help guys. |