如何在实时代码中添加Android和Iphone的本地列表选择器



我想在我的livecode应用程序中添加原生Android列表选择器(微调器)和IPhone列表选择器。我正在使用livecode combobox,但它在Android和Iphone中的本地功能不起作用。请帮助我如何实现这一点?

感谢

使用mobilePick命令

put the weekdayNames into tDays
put lineoffset("Tuesday", tDays) into tInitialIndex
mobilePick tDays, tInitialIndex
-- iOS only example
put "Mon" & return & "Tue" into tDays
put "Jan" & return & "Feb" & return & "Mar" & return & "Apr" into tMonths
mobilePick tDays, 2, tMonths, 3, "checkmark"
answer the result with "Okay"

来自lc字典

您需要将您的结果与if操作或开关用例连接起来。如果是1,则将"successs"放入fld"yourfield"末尾,如果打开开关tText案例"1"转到卡"lol"打破案例"2"转到卡片"rofl"打破结束开关

最新更新