password textbox

derez

Expert
Licensed User
Longtime User
I use setpasswordtextbox command in the following way :

...
Sub App_Start
...
flb.New1("Form3",B4PObject(1))
flb.SetPasswordTextBox("password")
form3.Show
Sip(True)
flb.New1("Form1",B4PObject(1))
If cPPC Then
flb.TextAlignment("acntnum",flb.alLeft)
.....

on the desktop I get **** instead of characters, on the device it shows the characters that I type.:confused:
compiled with 6.50
 

Cableguy

Expert
Licensed User
Longtime User
you could use my password textbox available as a dll in the adicional libraries..
It alows you to even scramble (simple way9) the text before returning it...or not(to scamble)...
PasswordTextbox
 
Last edited:

derez

Expert
Licensed User
Longtime User
I do not perform alignment on this specific box.
Changing the box to multiline didn't help.

I think that because I have also Hebrew in my device, alignment is performed automatically and this is what "kills" the password function.

Never mind :)
 

derez

Expert
Licensed User
Longtime User
Problems to run on the device

I attach a small guessing game which runs nicely on the desktop but with strange behaviour on the device:
The guessTB do not get the numbers which are sent by the Sender , and display of the results is only partial.

Appreciate if someone will check it (may also enjoy the game...) and report if it runs on his device.
I suspect something to do with the fact that I have Hebrew installed.

Thanks.

edit:
The problem is solved by adding Formlib with these lines:
flb.New1("form1",B4PObject(1))
flb.TextAlignment("guesstb",flb.alLeft)

but I still do not understand why it is necessary ...
 

Attachments

  • Guess.sbp
    2.4 KB · Views: 243
Last edited:
Top