由买买提看人间百态

topics

全部话题 - 话题: listbox
1 (共1页)
G***o
发帖数: 5158
1
来自主题: BuildingWeb版 - 请教 Dual ListBox 的问题
在一对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
来自主题: DotNet版 - listbox 的问题

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
来自主题: DotNet版 - listbox 的问题

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
来自主题: DotNet版 - listbox 的问题

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
来自主题: DotNet版 - drawing in c#
如果我用C# 做一个画图的东西, 现在可以画button, checkbox, listbox, combobox,
但是我有个问题, 就是, 这些东西都是能被click, 我怎么样才能让他呈现C#里的DESIG
N MODE 一样, BUTTON被CLICK 后不动, LISTBOX 放了数据后, 不显示在里面, COMBO
BOX 不能被下拉
thanks a lot
X****r
发帖数: 3557
6
来自主题: Programming版 - 问一个基本的WinAPI问题
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
来自主题: BuildingWeb版 - 请教 Dual ListBox 的问题
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.