473,405 Members | 2,262 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,405 software developers and data experts.

Gray outs

Hello Group,

Sorry to be a pain:(

Could somebody please tell me how I would gray out some TestBoxs to stop
users entering data in them until they click on a Add button for example

Thanks in advance
Regards
Si
Nov 20 '05 #1
5 1081
myTextBox.Enabled = false

"Newbie!" <s_************@yahoo.co.uk> wrote in message
news:uK********************@karoo.co.uk...
Hello Group,

Sorry to be a pain:(

Could somebody please tell me how I would gray out some TestBoxs to stop
users entering data in them until they click on a Add button for example

Thanks in advance
Regards
Si

Nov 20 '05 #2
Cor
Hi Newbie,

I think you are looking for textbox1.enabled = false

Cor

Sorry to be a pain:(

Could somebody please tell me how I would gray out some TestBoxs to stop
users entering data in them until they click on a Add button for example

Nov 20 '05 #3
-----Original Message-----
Hello Group,

Sorry to be a pain:(

Could somebody please tell me how I would gray out some TestBoxs to stopusers entering data in them until they click on a Add button for example
Thanks in advance
Regards
Si
While loading the i.e in the Form load Event method set the enable property of the nessary buttons to "FALSE" and
in the ADD button's(as mentioned by you) click event
method set all the property(enable) to "TRUE"

if u have any further queries, feel free to send a mail,
bye,
Chellapa

Nov 20 '05 #4
in properties window if you have Textbox1

set enabled property to false

Double click on your add button and in the Click event

place the following code
Textbox1.enabled=true

HTH

Shane

"Newbie!" <s_************@yahoo.co.uk> wrote in message
news:uK********************@karoo.co.uk...
Hello Group,

Sorry to be a pain:(

Could somebody please tell me how I would gray out some TestBoxs to stop
users entering data in them until they click on a Add button for example

Thanks in advance
Regards
Si

Nov 20 '05 #5
Hi,

If you want the textbox to be gray try setting the readonly property
to true.

Ken
----------------------
"Newbie!" <s_************@yahoo.co.uk> wrote in message
news:uK********************@karoo.co.uk...
Hello Group,

Sorry to be a pain:(

Could somebody please tell me how I would gray out some TestBoxs to stop
users entering data in them until they click on a Add button for example

Thanks in advance
Regards
Si

Nov 20 '05 #6

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

Similar topics

1
by: susie_richie_30 | last post by:
Hi, I am trying to apply gray scaling to color as well as black/white images. I have tried using the pixel by pixel approach to achieve the scaling. But the particular approach has a issue with...
6
by: Srinivas Rao \(Rbin/eds2\) | last post by:
HI all, Can any one tell me what the term "gray coding" mean in C programming. with regards, K Srinivas
0
by: Dana Epp | last post by:
I have a ToolBarButton that when I set it to disabled (button.Enabled = false;) causes a really ugly gray masking effect to take place. This is normal and the intended way of the button, but I...
2
by: Ebrahim | last post by:
Hello NG I’m developing software for my hardware which is connected via USB to my computer, I already have written the necessary firmware and a mini driver (by Windws2000 DDK) which both works ...
2
by: allanon76 | last post by:
I need to create an Image with more then 256 gray scale. this is my code, i've some problem setting correctly the pixel value. any idea? There is another way to create an image with more then...
1
by: Sugan | last post by:
Hi all, I'm creating a custom button control. I need to show a color image when the button control is enabled and a gray shade of the same image when the button control is disabled. How can i...
5
by: MC | last post by:
Hi, I have been looking around for a way to apply the filter that grays out a form or div. I found some examples but the code is pretty complex. Any simple ways to gray that out so I can...
1
by: michelqa | last post by:
Hi, When creating a new toolStip, the default color is the default blue xp control color... How do I change the blue gradient to a gray gradient ?? I want the exact gray color like the one in...
35
by: ValValVal | last post by:
Please sorry for my dumb question but I cannot find information on how I can change settings so that in NetBeans 6.1 I can edit blue guarded areas. I read in FAQ NetBeans Wiki:...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.