AutoPostback in the Listbox
来源:互联网 发布:农村淘宝佣金在哪看 编辑:程序博客网 时间:2024/06/18 08:30
Hi,
How do we make a visual basic listbox to respond directly when the user clicks on the items in the textbox? (such as making a menu appear or displaying info in a label when the items are clicked)
I have used the SelectedIndexChange event but nothing happens when the listbox items are clicked. The SelectedIndexChange event only seems to work when a button is added. It seems that the button's click event gets the listbox's selectedindex change event to start working. The listbox's textchanged event doesnt seem to work also.
How do we make a visual basic listbox to respond directly when the user clicks on the items in the textbox? (such as making a menu appear or displaying info in a label when the items are clicked)
I have used the SelectedIndexChange event but nothing happens when the listbox items are clicked. The SelectedIndexChange event only seems to work when a button is added. It seems that the button's click event gets the listbox's selectedindex change event to start working. The listbox's textchanged event doesnt seem to work also.
Is there any way to make the listbox respond directly to the user's clicks without the use of button controls?
i've found out how to make the listbox respond to its items being clicked
The AutoPostback property has to be set to true.
Thanks both for the replies......they also help to clear up the wrong concepts I had previously
The AutoPostback property has to be set to true.
Thanks both for the replies......they also help to clear up the wrong concepts I had previously
- AutoPostback in the Listbox
- AutoPostBack ListBox 防止滚动条 跳至最上端
- AutoPostBack
- AutoPostBack
- autopostback
- autopostback
- AutoPostBack
- AutoPostBack
- wxPython in Action (wx.ListBox)
- DnD on Listbox in C#
- wxPython in Action (wx.ListBox)
- Move the Item of ListBox
- Enigma1 THE BIBLE - Lesson6: Listbox
- Win32 Series - The Listbox Class
- 什么是AutoPostBack?
- 什么是AutoPostBack?
- Autopostback用法
- 理解AutoPostBack
- VB开发SolidWorks实现机械产品参数化设计
- 直接插入排序算法
- AndroidManifest.xml中声明不同包中的Activity
- Windows Phone 中应用颜色设置改变主题的应用
- 做技术的目标
- AutoPostback in the Listbox
- Agile PLM Engineering Collaboration 2011-11-25
- 代码
- String类封装
- CakePHP: Containable行为
- 我心目中的数学家
- SolidWorks eDraring Control
- linux硬链接与软连接的区别
- 后缀运算器(已补全)