NTK and The NTK Project
are properties of Jn Dechereux
Home | Documentation | FAQ.
Vanilla 1.1.8 is a product of Lussumo. More Information: Documentation, Community Support.
Function TogglePwdStyle(nGetID)
local hEdit := NTK_GiveGetHandle(aGetList, nGetID)
if (NTK_SendMessage(hEdit,EM_GETPASSWORDCHAR,0,0) == '*') // 0x2A
NTK_SendMessage(hEdit,EM_SETPASSWORDCHAR,0,0) // visible
else
NTK_SendMessage(hEdit,EM_SETPASSWORDCHAR, 0x2A ,0) // masked again. remember: 3rd param passed as byte
NTK_SetFocus(hEdit)
endif
Return(Nil)

1 to 3 of 3