Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
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  
Old June 30th, 2004, 06:24 PM
TheMadCoder TheMadCoder is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 9 TheMadCoder User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #2  
Old July 1st, 2004, 12:25 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 19 h 31 m 41 sec
Reputation Power: 180
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

Reply With Quote
  #3  
Old July 1st, 2004, 12:36 PM
spak111 spak111 is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 349 spak111 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 29 m 25 sec
Reputation Power: 5
Send a message via AIM to spak111
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?

Reply With Quote
  #4  
Old July 1st, 2004, 04:37 PM
TheMadCoder TheMadCoder is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 9 TheMadCoder User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I'm using Access 2002. I've tried it on Office XP Professional, as well. Same problem

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingVisual Basic Programming > Locked property of a Forms 2.0 TextBox Not Working...


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

Iron Speed




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway