The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
|
|
Urgent: Picklist combobox
Posted: 14 Jun 10 10:08 AM
|
I need to know if I add a picklist to my form, make the buttontype as down arrow. How can I make it to work as a dropdown in readonly mode? |
|
|
| |
| |
|
Re: Urgent: Picklist combobox
Posted: 15 Jun 10 9:06 AM
|
It's one or the other Amita.
When you add one of these controls to a form, take a look at the properties for the control. The Readonly property is a good start on making something readonly. Buttons are also a good place to work on.
Picklist's can be made user uneditable in the Picklist Manager. That means they can't change the items in the picklist. |
|
|
|
Re: Urgent: Picklist combobox
Posted: 15 Jun 10 2:27 PM
|
I am unable to set ReadOnly property because there ain't any ReadOnly Property on that control
Similar question - I add a combobox , bind it at runtime to a list of values... a user is still able to type a value. I don't want that feature. On Contact detail page, on editing a Contact name, how Title and Suffix appears in a dropdown...that's the feature i desire. |
|
|
|
Re: Urgent: Picklist combobox
Posted: 15 Jun 10 2:31 PM
|
I found the solution. There ain't ReadOnly property on combobox or PicklistCombo. To make it behave as a dropdownlist set the STYLE to one.
|
|
|
|
Re: Urgent: Picklist combobox
Posted: 15 Jun 10 3:29 PM
|
I have posted this in the past, but here it is once again:
For the Combo box, set the Style to csDropDownList, this will make it render so that the user can't modify it.
For a Picklist or Picklist Combo, this is based on the Picklist properties. When you create a Picklist, one of its attributes is "Text Must Match a List Item". If this item is checked, then the user cannot type on the Picklist control at all, they can only choose an existing value. |
|
|
| |
|