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

Commit 66a6794

Browse files
Merge pull request #1982 from montegoulding/fixmsgboxcolor
[[ Bug ]] Fix colorization of msg box autocomplete
2 parents dcf7480 + 295a5ec commit 66a6794

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

Toolset/palettes/message box/behaviors/revmessageboxsinglelinemessagebehavior.livecodescript

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,13 +105,16 @@ command revDisplayAutoComplete pString
105105
put empty into field "auto complete"
106106
end if
107107
cancel sColorizeAutocompleteMsg
108-
get the long id of field "auto complete"
109-
send "revSEColorizeField it" to stack "revSEUtilities" in 100 milliseconds
108+
send "__ColorizeAutocomplete" to me in 100 milliseconds
110109
put the result into sColorizeAutocompleteMsg
111-
set the textColor of char 1 to -1 of field "auto complete" to "gray70"
112110
unlock screen
113111
end revDisplayAutoComplete
114112

113+
on __ColorizeAutocomplete
114+
dispatch "revSEColorizeField" to stack "revSEUtilities" with the long id of field "auto complete"
115+
set the textColor of char 1 to -1 of field "auto complete" to "gray70"
116+
end __ColorizeAutocomplete
117+
115118
command revNextLine
116119
lock messages
117120
if field "auto complete" is empty then

0 commit comments

Comments
 (0)