Pattern Lock

Typewidget
Dictionarywidget.lockpattern
LibraryPattern Lock
Associationscom.livecode.widget.lockpattern
Summary

This widget allows you to draw a lock pattern.

Description
This <a href="widget_LCS_object.html">widget</a> simulates the lock pattern that we can find mainly on smartphones. When drawing a pattern, a PIN will be generated with the digits 1 to 9. The length of this PIN can range from 1 to 9 digits.
For security reasons we should not use PIN with a length less than 4 digits.

TypeNameSummarySyntax
messageInputComplete

Sent to the widget when the user finishes drawing the pattern.

InputComplete <pPIN>

propertybackgroundOpacity

A value between 0 and 100 for the opacity of the lock pattern background.

set the backgroundOpacity of <widget> to number

get the backgroundOpacity of <widget>

- - -PatternError

Show the last drawn pattern and then delete it.

set the PatternError of <widget> to true

- - -PIN

The resulting PIN of the drawn pattern.

get the PIN of <widget>

- - -RoundedRadius

The radius of the widget background edges.

set the RoundedRadius of <widget> to number

get the RoundedRadius of <widget>

- - -ShowPattern

If the pattern is shown to the user, draw it.

set the ShowPattern of <widget> to {true | false}

get the ShowPattern of <widget>

widgetPattern Lock

This widget allows you to draw a lock pattern.

set the ShowPattern of <widget> to {true | false}

get the ShowPattern of <widget>