如何比较两个滚动字段(我有两个字段之一包含一些文本和另一个包含搜索字符串&替换字符串这些用冒号分隔我想搜索第一个滚动字段中的每个字在第二滚动领域的搜索字符串,如果在第一滚动现场发现搜索字符串,然后返回在第一滚动领域的特定词和搜索字符串的计数) on mouseUp
put the fld "MytextField" into myHtmll
put the field SRT
如何限制弹出窗口中的项目。 “Sar”数组包含很多单词,就选择而言。如果我的第一个弹出包含15个项目并做了更改。当进入下一个弹出窗口时,如果它包含10个项目,则剩余的5个项目也会添加到第二个弹出窗口选项中。 如何杀死弹出菜单项中的缓冲区? Iam使用该代码 global jar,myjar,sam,mySam,Dic,Sar
on mouseUp pMouseButton
put th
我有一些快捷方式的编码。但我的问题是我有表演的快捷键事件时,那么它也将特别关键,滚动领域如滚动申请:如果我按ALT + B,然后在B放置滚动领域内 on rawKeyDown theKeyNumber
switch (theKeyNumber)
case 98 -- b
if the altKey is down then
answer"Hai"
我创建了一个包含用户名和密码的登录页面。在密码字段,我改为字符“*”,而点击该按钮登录我无法登录 ---下面的代码是密码字段 全局变量 put "[email protected]" into var
on keydown var
set the hiddentext of me to the hiddentext of me & var
put "*" after me
如何创建查找字符串的对话框。我不知道如何在LiveCode中创建对话框,以便我使用ask命令。是否在正确的代码中创建对话框的正确方法 global x
on mouseUp
ask "What is your name?"
put it into x
if x is empty then
answer"wrong input"
我创建了一个用于在滚动字段中查找文本的模型窗口(新的Substack)。但它不工作我用下面的代码 下面的代码调用模态窗口 on mouseUp
modal stack "sub"
end mouseUp
在滚动现场查找字符串下面的代码 on mouseUp
if field "EE" is empty then
answer "Please enter the fil
我创建了主堆栈和Suback,还在子堆栈中创建了一个按钮,用于在滚动字段(滚动字段是主堆栈)中执行查找单词。 如果编码为 on mouseUp
find "Work" in field "text"--Here "text" is a scrolling field placed in main stack
end mouseUp
此代码按钮置于Substack中。为什么