Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 9aa9c90

Browse files
authored
[ Bug 20713 ] Enable lock/unlock via popUp in text field
[ Bug 20713 ] Enable lock/unlock from popUp for text field http://quality.livecode.com/show_bug.cgi?id=20713
1 parent 573cebf commit 9aa9c90

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

Toolset/libraries/revidelibrary.8.livecodescript

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9121,6 +9121,15 @@ on revIDEActionPasteTextIntoField pField
91219121
unlock screen
91229122
end revIDEActionPasteTextIntoField
91239123

9124+
on revIDEToggleLockTextOfField pField
9125+
# Make sure we have an field
9126+
if word 1 of pField is not "field" then
9127+
exit revIDEToggleLockTextOfField
9128+
end if
9129+
9130+
set the lockText of pField to not (the lockText of pField)
9131+
end revIDEToggleLockTextOfField
9132+
91249133
on revIDEToggleTraversalOnOfField pField
91259134
# Make sure we have an field
91269135
if word 1 of pField is not "field" then

0 commit comments

Comments
 (0)