docs

Home All functions Legacy functions Categories

vuPasswordToggle(ControlHandle)

vuPasswordToggle(LONG InHwnd),SIGNED,PROC,PASCAL,RAW,NAME('vuPasswordToggle')

Description

Programmatically toggles a managed password control between visible-text mode and normal masked mode.

The eye button created during vuPasswordInit() handles this automatically for the user, but this function allows the developer to force a state change through code when needed.

Parameters

Parameter Data Type Description
InHwnd LONG Handle of the target password control previously initialized with vuPasswordInit().

Returns

Example

RC LONG

RC = vuPasswordToggle(?InPassword{PROP:Handle})

Notes

Home All functions Legacy functions Categories