0

Combobox对象怎么设置下拉显示的行数

asked 2008-08-14 01:26:11 +0800

phoenix gravatar image phoenix
42 1

是用这个方法么?public void setRows(int rows)
我在<zscript>里设置Combobox对象setRows(10)
运行的时候提示我:
SEVERE: >>java.lang.UnsupportedOperationException: Combobox doesn't support multiple rows, 10

delete flag offensive retag edit

2 Replies

Sort by » oldest newest

answered 2008-11-27 15:56:14 +0800

ruknow gravatar image ruknow
168 1 3

好像目前这个是10行,代码中写死了的.

link publish delete flag offensive edit

answered 2008-12-05 10:47:48 +0800

RyanWu gravatar image RyanWu
533 2
about.me/flyworld

不 那是因為demo上面的只有10行
要多一點的話 就自己寫資料的model就可以了

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2008-08-14 01:26:11 +0800

Seen: 1,060 times

Last updated: Dec 05 '08

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More