PC Review


Reply
Thread Tools Rate Thread

ddisabling a txtbox using VB

 
 
Adien
Guest
Posts: n/a
 
      17th Jan 2008
I'm attempting to disable a txtbox after it's been updated with old
data, so that it can't be accidently changed. I tried
me.ChickenR.locked and me.ChickenR.disablewhen but both are giving
invalid use erros. Any suggestions?

Thanks,
Adien
 
Reply With Quote
 
 
 
 
fredg
Guest
Posts: n/a
 
      17th Jan 2008
On Thu, 17 Jan 2008 13:08:29 -0800 (PST), Adien wrote:

> I'm attempting to disable a txtbox after it's been updated with old
> data, so that it can't be accidently changed. I tried
> me.ChickenR.locked and me.ChickenR.disablewhen but both are giving
> invalid use erros. Any suggestions?
>
> Thanks,
> Adien


The correct syntax is:
Me.ChickeR.Enabled = False (or True)
or
Me.ChickenR.Locked = False (or True)

--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
 
Reply With Quote
Reply

Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Txtbox set focus DZ Microsoft Excel Programming 7 30th Jan 2008 11:50 AM
txtBox help =?Utf-8?B?RGF2ZQ==?= Microsoft Dot NET Framework Forms 3 7th Nov 2004 01:45 PM
txtbox Delf Microsoft Access 1 22nd Aug 2004 10:21 PM
txtbox? Terry Microsoft Access Form Coding 3 7th Jun 2004 02:17 AM
txtbox not getting a key Cosh Microsoft C# .NET 1 3rd Aug 2003 06:52 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:18 AM.