|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
Locked property of a Forms 2.0 TextBox Not Working...
I have tried and tried....
I use the Microsoft Forms 2.0 TextBox in my Access forms in place of the normal Access TextBox. This is because it has properties that the Access TextBox doesn't. Such as the ability to ALWAYS display SCROLL BARS if the text doesn't fit into the box. Not just display them when the control has the focus. They seemed like a complete answer to my problems, but the "Locked" Property of the Forms 2.0 TextBox doesn't seem to work!! I have tried all manner of setting it to locked...setting it in code...setting it in the Access Properties box....setting "Enabled" = False and "Locked" = True...and so on. "Enabled" works as it should, disabling the control. But I need it enabled so the scroll bars work, yet locked so it's text can't be changed. I found a cheesy way to lock the box by setting its value in a string, then on the Updated event of the TextBox, I set the value to the string, so it appears to be locked. This is not the way I'd like to fix this... Can anyone, at least, verify that the Forms 2.0 textbox doesn't Lock?? How can I fix it? I have searched EVERY INCH of support.microsoft.com, and can't find any known bugs about it related to this. Please Help! And Thanks in advance ![]() Chris H. |
|
#2
|
|||
|
|||
|
I don't have a clue, never used forms 2.0 in a VB project.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#3
|
|||
|
|||
|
What version of Access are you using? I'm using Access 97 and I've had no problems with locking the control. Perhaps it is only a bug that is in later versions?
|
|
#4
|
|||
|
|||
|
I'm using Access 2002. I've tried it on Office XP Professional, as well. Same problem
|
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > Locked property of a Forms 2.0 TextBox Not Working... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
![]() |
|