Table of Contents

TTMSFNCPassLock Class

Displays a password or pattern lock control with customizable entry indicators, buttons, drawing events, and password validation.

API unit family: TMSFNCPassLock Inherits from: TTMSFNCCustomPassLock

Syntax

TTMSFNCPassLock = class(TTMSFNCCustomPassLock)

Properties

Name Description
ButtonAppearance Configures the appearance of numeric and pattern buttons. (inherited from TTMSFNCCustomPassLock)
EntryAppearance Configures the appearance of password entry indicators. (inherited from TTMSFNCCustomPassLock)
GlobalFont Applies a shared font configuration to the pass lock. (inherited from TTMSFNCCustomPassLock)
Options Configures input mode, learning mode, keyboard input, and visible entry controls. (inherited from TTMSFNCCustomPassLock)
PasswordEntry Gets or sets the current password entry value. (inherited from TTMSFNCCustomPassLock)
PasswordLength Specifies the number of characters or pattern points required for a password. (inherited from TTMSFNCCustomPassLock)
PasswordValue Specifies the password value used for built-in password checks. (inherited from TTMSFNCCustomPassLock)
Visible Controls whether the pass lock is visible. True shows the control; False hides it. (inherited from TTMSFNCCustomPassLock)

Methods

Name Description
AddPasswordEntry Adds a value to the current password entry. (inherited from TTMSFNCCustomPassLock)
ClearLastPasswordEntry Removes the last value from the current password entry. (inherited from TTMSFNCCustomPassLock)
ClearPasswordEntry Clears the current password entry. (inherited from TTMSFNCCustomPassLock)
Draw Draws the pass lock control. (inherited from TTMSFNCCustomPassLock)
EndUpdate Ends an update block and refreshes the pass lock when all updates are complete. (inherited from TTMSFNCCustomPassLock)
PasswordCheck Checks the current password entry against the configured password value or event handler. (inherited from TTMSFNCCustomPassLock)
Resize Recalculates the pass lock layout after the control size changes. (inherited from TTMSFNCCustomPassLock)

Events

Name Description
OnAfterDrawBackground Occurs after the background is drawn. (inherited from TTMSFNCCustomPassLock)
OnAfterDrawButton Occurs after a button is drawn. (inherited from TTMSFNCCustomPassLock)
OnAfterDrawButtonValue Occurs after a button value is drawn. (inherited from TTMSFNCCustomPassLock)
OnAfterDrawEntry Occurs after an entry indicator is drawn. (inherited from TTMSFNCCustomPassLock)
OnAfterDrawPattern Occurs after the entered pattern path is drawn. (inherited from TTMSFNCCustomPassLock)
OnAfterDrawPatternCircle Occurs after a pattern circle is drawn. (inherited from TTMSFNCCustomPassLock)
OnBeforeDrawBackground Occurs before the background is drawn. (inherited from TTMSFNCCustomPassLock)
OnBeforeDrawButton Occurs before a button is drawn. (inherited from TTMSFNCCustomPassLock)
OnBeforeDrawButtonValue Occurs before a button value is drawn. (inherited from TTMSFNCCustomPassLock)
OnBeforeDrawEntry Occurs before an entry indicator is drawn. (inherited from TTMSFNCCustomPassLock)
OnBeforeDrawPattern Occurs before the entered pattern path is drawn. (inherited from TTMSFNCCustomPassLock)
OnBeforeDrawPatternCircle Occurs before a pattern circle is drawn. (inherited from TTMSFNCCustomPassLock)
OnButtonAppearanceChanged Occurs when button appearance settings change. (inherited from TTMSFNCCustomPassLock)
OnButtonDownChanged Occurs when the pressed button value changes. (inherited from TTMSFNCCustomPassLock)
OnButtonHoverChanged Occurs when the hovered button value changes. (inherited from TTMSFNCCustomPassLock)
OnButtonUpChanged Occurs when the released button value changes. (inherited from TTMSFNCCustomPassLock)
OnConfirmPassword Occurs when a repeated password entry is checked while learning a password. (inherited from TTMSFNCCustomPassLock)
OnEntryAppearanceChanged Occurs when entry appearance settings change. (inherited from TTMSFNCCustomPassLock)
OnLearnPassword Occurs when a password is learned. (inherited from TTMSFNCCustomPassLock)
OnNewPassword Occurs when a new password entry is completed. (inherited from TTMSFNCCustomPassLock)
OnOptionsChanged Occurs when pass lock options change. (inherited from TTMSFNCCustomPassLock)
OnPasswordCheck Occurs when a password entry is checked. (inherited from TTMSFNCCustomPassLock)
OnPasswordEntryChanged Occurs when the password entry value changes. (inherited from TTMSFNCCustomPassLock)
OnPatternEntryChanged Occurs when the pattern entry value changes. (inherited from TTMSFNCCustomPassLock)
OnPatternEntryEnd Occurs when pattern entry is completed. (inherited from TTMSFNCCustomPassLock)

Used by