某些身体可以帮助我使用ComboBox吗 [英] Can some body help me in working with ComboBox
问题描述
你好frds,
我的名字叫Faizal Shaikh,我正在上学期的学校管理系统项目中工作.在我的项目中,如果某个主体想要编辑它们,则可以,但是有些字段不能编辑,但应该显示.
我曾经为文本框使用Readonly属性,但它可以工作,但是在组合框中没有这样的属性.目前,我已经启用了它,但是它看起来很糟糕.
因此,组合框的某些属性不允许更改组合框中的文本并保持启用状态.
Advancex中的thanx
hello frds,
My Name is Faizal Shaikh and I am working on Project of School Management System of Final semester. In my project if some body want to edit the they can but there is some field which can not edit but it should display.
I had use Readonly Property for Textbox and it work, but in combobox there is no property like this. at present i had enable it but it looked bad.
So some property for combobox that do no allow to change text in combobox and remain enable.
thanx in Advance
推荐答案
将DropDownStyle设置为DropDownList-它不再接受用户输入,仅接受列出的值.
Set the DropDownStyle to DropDownList - it will no longer accept user entries, just the listed values.
这篇关于某些身体可以帮助我使用ComboBox吗的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!