User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Visual Basic 4 / 5 / 6 section within the Software Development category of DaniWeb, a massive community of 423,075 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,312 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums
Views: 324 | Replies: 3 | Solved
Reply
Join Date: Apr 2008
Posts: 195
Reputation: veledrom is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
veledrom veledrom is offline Offline
Junior Poster

disable changeable property of text, combo, listbox

  #1  
Jul 17th, 2008
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
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jul 2008
Posts: 31
Reputation: Teropod is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 6
Teropod Teropod is offline Offline
Light Poster

Re: disable changeable property of text, combo, listbox

  #2  
Jul 17th, 2008
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.
Reply With Quote  
Join Date: Feb 2008
Location: Sivakasi, Tamilnadu, India
Posts: 453
Reputation: selvaganapathy is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 78
selvaganapathy's Avatar
selvaganapathy selvaganapathy is offline Offline
Posting Pro in Training

Re: disable changeable property of text, combo, listbox

  #3  
Jul 17th, 2008
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.
KSG
Reply With Quote  
Join Date: Apr 2008
Posts: 195
Reputation: veledrom is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
veledrom veledrom is offline Offline
Junior Poster

Re: disable changeable property of text, combo, listbox

  #4  
Jul 17th, 2008
I'll use textbox. thanks
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Visual Basic 4 / 5 / 6 Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Other Threads in the Visual Basic 4 / 5 / 6 Forum

All times are GMT -4. The time now is 5:30 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC