G***o 发帖数: 5158 | 1 在一对DUAL LISTBOX 里面,一边(document.all.form[0].select[0])放可供选的物件列表
,
另外一边(document.all.form[0].select[1])放选中的物件. 这一对LISTBOX放在同一个
表(FORM document.all.form[0].)里头. 用JAVASCRIPT控制两个LISTBOX之间的物件移动.
问题:怎么才能将选中的LISTBOX中的物件上交到后台的SERVLET或其他ACTION CLASS去呢?
谢了先. |
|
b*e 发帖数: 3845 | 2
i think the vertical scrolling bar will automatically appear if the
height of the items is larger thean the height of the listbox.
foreach (ListItem item in aListBox.Items)
{
... = item.Text (or item.Value)
} |
|
b*e 发帖数: 3845 | 3
How do you feel if there is an item you can't see and can't select from
the listbox?
Dude, you got to double check what namespace ListItem is in and use it. |
|
m******t 发帖数: 2416 | 4
I guess the OP knows the number of items can't be more than the listbox can
display, and doesn't want the disabled vertical scroll bar at all. |
|
h***a 发帖数: 358 | 5 如果我用C# 做一个画图的东西, 现在可以画button, checkbox, listbox, combobox,
但是我有个问题, 就是, 这些东西都是能被click, 我怎么样才能让他呈现C#里的DESIG
N MODE 一样, BUTTON被CLICK 后不动, LISTBOX 放了数据后, 不显示在里面, COMBO
BOX 不能被下拉
thanks a lot |
|
X****r 发帖数: 3557 | 6 ListBox的parent是你的主窗口。
(当然,你这么做的话就需要在切换Tab的时候自己装卸ListBox) |
|
n****r 发帖数: 279 | 7 我也这么想来着,不过不知道怎么弄动,MS提供的Listbox没有这个behavior,下一个
版本我试一试
弄动它。 |
|
p*****l 发帖数: 721 | 8 正确答案:
windows XP --> Regional and Language Options --> Advanced (tab) -->
in the listbox "Select a language to match the language version of the non-
Unicode program you want to use:" select "Chinese(PRC)" |
|
p***n 发帖数: 635 | 9 Here is the submit button which will select all values in your select box
submits the form (it is the equivalent of user selecting all values.
The java script function used by the onclick button.
|
|