Hi,

When i click on a datagrid, the selected row's id is added into a text or combo or listbox.

User will see and navigate through the added items but, can't change. What is the best way to do this? I need to disable changeable property of text or combo or list.

Thanks

There is locked property in textbox, if true then user cant edit it.

combobox have style you can set it to drop down list.

Listbox can't be edited without code that will edit it.

Now u decide.

yes, my suggestion is to select TextBox with lock property to True because you can copy from textbox but ListBox and Combobox not having this facility.

I'll use textbox. thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.