PatternError

Typeproperty
Dictionarywidget.lockpattern
LibraryPattern Lock
Syntax
set the PatternError of <widget> to true
Associationscom.livecode.widget.lockpattern
Summary

Show the last drawn pattern and then delete it.

OSmac, windows, linux, ios, android
Platformsdesktop, mobile, web
Example
    local tPIN

    put the PIN of widget "Pattern Lock" into tPIN

    if the length of tPIN <4 then
      put "At least 4 points required" into field "message"
      set the PatternError of widget "Pattern Lock" to true
    end if
RelatedProperty: backgroundOpacity, ShowPattern, RoundedRadius, PIN, PatternError
Message: InputComplete
Description

Use the PatternError property to tell the user that an error was generated while drawing the pattern.