0
如何创建查找字符串的对话框。我不知道如何在LiveCode中创建对话框,以便我使用ask命令。是否在正确的代码中创建对话框的正确方法如何创建查找字符串的对话框
global x
on mouseUp
ask "What is your name?"
put it into x
if x is empty then
answer"wrong input"
else
repeat for each word ass in "MytextField"
--repeat with each word myword in fld"MytextField"
if "MytextField" contains myword then
find x after "MytextField"
end if
end repeat
end if
end mouseUp
on mouseDown
end mouseDown
它的工作。但是每次我必须输入输入信息。你可以告诉我任何解决它的方法。 – Shalu