感谢您的回复和示例。
不幸的是,滑块不起作用,因为只有大约20个有效值,它们不仅仅是相关的。
目前,用户键入一个值,但必须知道哪些值是可接受的。
我找到了一个相当粗略的解决方案,即将下拉输出写入文件,然后将其读入实际值。
它不优雅,但确实有效。编辑:pi于2014年3月17日上午8:49
以上来自于谷歌翻译
以下为原文
Thanks for the response and example. Unfortunately a slider will not work as there are only about 20 valid values and they are not simply related. At present the user types in a value but has to know which values are acceptable.
I have found a rather crude solution which is to write the drop-down output to a file and then read it into a real value. It is not elegant but does work.
Edited by: pi on Mar 17, 2014 8:49 AM
感谢您的回复和示例。
不幸的是,滑块不起作用,因为只有大约20个有效值,它们不仅仅是相关的。
目前,用户键入一个值,但必须知道哪些值是可接受的。
我找到了一个相当粗略的解决方案,即将下拉输出写入文件,然后将其读入实际值。
它不优雅,但确实有效。编辑:pi于2014年3月17日上午8:49
以上来自于谷歌翻译
以下为原文
Thanks for the response and example. Unfortunately a slider will not work as there are only about 20 valid values and they are not simply related. At present the user types in a value but has to know which values are acceptable.
I have found a rather crude solution which is to write the drop-down output to a file and then read it into a real value. It is not elegant but does work.
Edited by: pi on Mar 17, 2014 8:49 AM
举报