|
-
December 6th, 1999, 09:49 AM
#1
textbox not grayed when disabled ..
Hi !
I'm a VC++ programmer and I need to deal with a small VB(6)-program for a
project I am working on.
Could one of you VB-Gurus pls tell me why my textboxes are not grayed when
I set them to disabled state ?? This shouldn't be a hard one ...
Thanks for your help,
Matthias.
I had a thought,
You know, I thought it a lot,
I thought I was smart,
Now I know that I'm not
- The Presidents Of The United States Of America
-
December 6th, 1999, 10:00 AM
#2
Re: textbox not grayed when disabled ..
This is just by design, instead the Text itself is grayed.
If you want the background of the Textbox grayed you could change it yourself, eg.
Text1.BackColor = Text1.BackColor = RGB(192, 192, 192)
Aaron Young
Analyst Programmer
[email protected]
[email protected]
-
December 7th, 1999, 08:19 AM
#3
Re: textbox not grayed when disabled ..
Hi !
thanks for your answer.
I still think this strange way for a textbox to behave.
When creating, showing and then disabling a textbox using
the Windows-API, the textbox is displayed grayed.
Why not when using VB ??
Anyone else got any hints on this ??
Regards,
Matthias.
I had a thought,
You know, I thought it a lot,
I thought I was smart,
Now I know that I'm not
- The Presidents Of The United States Of America
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|