Edit Field (Password Style)

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Googie85
Posts: 227
Joined: Tue Aug 05, 2014 10:07 am

Edit Field (Password Style)

Post by Googie85 » Tue Aug 05, 2014 10:14 am

Hello Guys,

I am trying to make an edit box that behaves as a password field. I have tried everything but cannot reach a conclusion.

All help is appreciated (I know its probably a really simple thing),

Many Thanks,

Matthew.

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10354
Joined: Wed May 06, 2009 2:28 pm

Re: Edit Field (Password Style)

Post by dunbarx » Tue Aug 05, 2014 1:58 pm

Hi.

There are several threads about this, ranging from "keyUp" handlers in the field that append an asterisk, say, into the field while keeping the actual text in a custom property of that field, down to using the imageSource property to display an image in place of each char. In that way, the actual ASCII character is still present in the field, but its appearance is substituted by the image. Can you manage either or both of these methods? Write back if you need help. Look up "imageSource" in the dictionary.

Craig Newman

Post Reply