REVO2700bulletPassword@^Password Field ULucida GrandecREVGeometryCachestackID1010 cREVGeneralbreakpointconditions breakpointsbreakpointstatesstackfileversion2.7 @cREVGeometryCacheIDs123937636729610041239377551358101012393763903611005123937672299110071239376367295100312393772322331009cREVGeometrycachetotal6order  behaviorBtnEwon keydown tKey put word 2 of the selectedChunk of me into tSChar put word 4 of the selectedChunk of me into tEChar put the cPassword of me into tPasswd if tEChar > tSChar then -- some text is selected delete char tSChar to tEChar of me delete char tSChar to tEChar of tPasswd end if put word 2 of the selectedChunk of me into tSChar put word 4 of the selectedChunk of me into tEChar put tKey after char tEChar of tPasswd set the cPassword of me to tPasswd --put tPasswd # debugging if the platform is "MacOS" then put 165 into tBulletCode else put 149 into tBulletCode end if put numtochar(tBulletCode) after char tEChar of the target end keyDown on backspaceKey put word 2 of the selectedChunk of me into tSChar put word 4 of the selectedChunk of me into tEChar put the cPassword of me into tPasswd if tEChar > tSChar then -- text is selected delete char tSChar to tEChar of me delete char tSChar to tEChar of tPasswd else delete char tEChar of me delete char tEChar of tPasswd end if set the cPassword of me to tPasswd --put tPasswd # debugging end backspaceKey on deleteKey put word 2 of the selectedChunk of me into tSChar put word 4 of the selectedChunk of me into tEChar put the cPassword of me into tPasswd if tEChar > tSChar then -- text is selected delete char tSChar to tEChar of me delete char tSChar to tEChar of tPasswd else delete char tSChar of me delete char tSChar of tPasswd end if set the cPassword of me to tPasswd --put tPasswd # debugging end deleteKey on openField --put the cPassword of me # for debugging put bulletize(the cPassword of me) into me end openField function bulletize pText if the platform is "MacOS" then put 165 into tBulletCode else put 149 into tBulletCode end if put empty into tBullets repeat for each char tChar in pText put numToChar(tBulletCode) after tBullets end repeat return tBullets end bulletize R4 cREVGeneralscripteditorvscroll471 revUniqueID 1239376367295scripteditorselection1664 passwd1i`w cPassword mypassword bulletPassword cREVGeneral revUniqueID 1239376367296scripteditorvscroll0scripteditorselection0   passwdLbl @s cREVTable currentviewEnter Password: cREVGeneral revUniqueID 1239376390361 Enter Password:reveal%won mouseUp put the cPassword of fld "passwd1" into fld "revealFld" send hidepassword to me in 4000 milliseconds end mouseUp command hidePassword lock screen put empty into fld "revealFld" unlock screen with visual effect dissolve end hidePassword >b0Reveal Password cREVGeneralscripteditorvscroll0 revUniqueID 1239376722991scripteditorselection262  revealFld) @v> cREVGeneral revUniqueID 1239377232233  note b~h cREVTable currentview8The password field obscures the characters entered by substituting a character of your choice. I used the bullet character--Mac ASCII 165; Windows ASCII 149. The password is stored in the cPassword custom property of the password field. You should of course hide the behavior button before using it in a project. cREVGeneral revUniqueID 1239377551358 The password field obscures the characters entered by substituting a character of your choice. I used the bullet character--Mac ASCII 165; Windows ASCII 149. OThe password is stored in the cPassword custom property of the password field. LYou should of course hide the behavior button before using it in a project. revOnline | RunRev