473,325 Members | 2,671 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

.Locked property

What has happened to a control's .Locked property ? Has
Microsoft removed it ?

The textbox control has a .ReadOnly property, but other
controls (such as the combo) do not have this property.

How can we prevent a user changing the contents of a
control but still allow them to select and copy the
contents ?

Jul 21 '05 #1
1 1526
Since it is Read-Only, you could hide the combo box and display a textbox in
its place.

--
Jonathan Allen
"Finn" <fs******@volante.com.au> wrote in message
news:3b****************************@phx.gbl...
What has happened to a control's .Locked property ? Has
Microsoft removed it ?

The textbox control has a .ReadOnly property, but other
controls (such as the combo) do not have this property.

How can we prevent a user changing the contents of a
control but still allow them to select and copy the
contents ?

Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Tech | last post by:
In Visual Basic 6.0, the Locked property of a ComboBox control determined whether the text-box portion of the control could be edited. In Visual Basic ..NET, the Locked property prevents a control...
2
by: Vinny Vinn | last post by:
On occasion a Network User Account gets locked out. This causes lots of problems as the account is used to run different programs. The programs fail when the user account is locked out. I would...
2
by: David L Wright II | last post by:
In VB6, any column in the DataGrid had a Locked Property. I can not find this property in the .Net DataGrid. Where is this property or what is the replacement property?
7
by: Andrea Moro | last post by:
I'm writing my first windows control library. A simple textbox with some numeric facilities. Well, there is a strange thing that happen. I want to add a locked property. As many other property,...
4
by: Qwert | last post by:
Hello, I have a listview with an image list. After dispoing the images and the image list, the bitmap files remain locked: REM Create. objImage = Image.FromFile(strBmp) If...
4
by: kafi | last post by:
Hi All; I am trying to find a way to make my locked control more visible on a web form. When I lock a control and display it on a web form (ASP.NET) the control is barely visible and it is hard...
2
by: kafi | last post by:
Hi All; I am trying to find a way to make my locked control more visible on a web form. When I lock a control and display it on a web form (ASP.NET) the control is barely visible and it is hard...
8
by: kevin.vaughan | last post by:
Good Afternoon Everyone, Could someone please explain why I can't set the Subform control Visible attribute to False as below? The statement for the locked attributes work but not for the...
0
by: cmrhema | last post by:
Hello I used to write the code text1.locked=true but to my utter surprise i could not find it in vb 2005 the locked property is displayed in property box but when i put down the code it does not...
6
by: ljstern | last post by:
Hello. I am using MS Access 2003 with XP/pro. I have a form that has the following properties set through the property sheet: form: AllowAdditions = False CartridgeID field: Locked = True ...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.