password textbox

Discussion in 'Bug Reports' started by derez, Oct 25, 2008.

  1. derez

    derez Expert Licensed 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
     
  2. Cableguy

    Cableguy Expert Licensed 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: Oct 25, 2008
  3. derez

    derez Expert Licensed User

    Thanks Paulo
    I am using my private scrambling:)
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    On the device only multiline textboxes support other text alignments. So when you set this property, the textbox first changes to be multiline.
    Unfortunately multiline textboxes do not support the password pattern.
    So you can't combine SetPasswordTextBox and TextAlignment.
     
  5. derez

    derez Expert Licensed 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 :)
     
  6. derez

    derez Expert Licensed 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 ...
     

    Attached Files:

    Last edited: Oct 27, 2008
  7. Erel

    Erel Administrator Staff Member Licensed User

    It works fine here (on a device).
    It is probably related to the Hebrew installation.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice