You know how the text in the attached label
sort of 'greys out' when you click something
that sets MyTextbox.Enabled = False?
I would like to make a label's text look like
that? How do I do it? It look sort-a-like sunken
text or shadowed - I don't know what. 6 2084
"MLH" <CR**@NorthState.net> schreef in bericht news:sf********************************@4ax.com... You know how the text in the attached label sort of 'greys out' when you click something that sets MyTextbox.Enabled = False? I would like to make a label's text look like that? How do I do it? It look sort-a-like sunken text or shadowed - I don't know what.
Simply set YourTextbox.enabled = False
Although I am sure this will do the 'trick', I am not sure this is what you want ;-)
But please set SubjectLine.Long = False
I am sure this will help me to read and answer your questions ...
Arno R
MLH wrote: You know how the text in the attached label sort of 'greys out' when you click something that sets MyTextbox.Enabled = False?
I would like to make a label's text look like that? How do I do it? It look sort-a-like sunken text or shadowed - I don't know what.
if you do that, you may risk confusing your users. Greyed-out text is
meant to be (temporarily, not permanently) inactive.
I can't seem to reproduce the look anyway. Labels cannot be active, and
hence have no greyed-out setting. Labels to textboxes of course do, but
the look is controlled from the textbox in those cases.
--
Bas Cost Budde, Holland http://www.heuveltop.nl/BasCB/msac_index.html
Yes, I know. I have 2 labels on each side of a textbox that are BOTH
related to the t'box. Since I cannot attach both of them to the t'box
control, I have to do something about 'graying' out the 2nd label when
the textbox goes disabled./
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx if you do that, you may risk confusing your users. Greyed-out text is meant to be (temporarily, not permanently) inactive.
I can't seem to reproduce the look anyway. Labels cannot be active, and hence have no greyed-out setting. Labels to textboxes of course do, but the look is controlled from the textbox in those cases.
MLH wrote: Yes, I know. I have 2 labels on each side of a textbox that are BOTH related to the t'box. Since I cannot attach both of them to the t'box control, I have to do something about 'graying' out the 2nd label when the textbox goes disabled./
Use one larger label.
--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
MLH wrote: Yes, I know. I have 2 labels on each side of a textbox that are BOTH related to the t'box. Since I cannot attach both of them to the t'box control, I have to do something about 'graying' out the 2nd label when the textbox goes disabled./
Ar, I see that.
Tried this at home:
* cutting and pasteing the label onto the control (no, of course you've
done that)
* setting the Parent property from code (no, 438)
Well, then, I thought, if Mozes is too busy with the mountain, let's
have another mountain. What if you tack the second label onto a second
*textbox* which you then set to have no tabstop, width=0, transparent
border etc. all but hiding it. You can enable/disable it together with
the main control, and it will then disable its label.
--
Bas Cost Budde, Holland http://www.heuveltop.nl/BasCB/msac_index.html
That's clever. I like it. Thx.
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Well, then, I thought, if Mozes is too busy with the mountain, let's have another mountain. What if you tack the second label onto a second *textbox* which you then set to have no tabstop, width=0, transparent border etc. all but hiding it. You can enable/disable it together with the main control, and it will then disable its label. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: roy |
last post by:
I am just curious whether it is possible to make the
java application has a Mac style "look and feel" on widows.
Thanks
|
by: MLH |
last post by:
I have a query, qryAppend30DayOld260ies that attempts to append
records to tblCorrespondence. When run, it can result in any of the
following: appending no records, appending 1 record or appending...
|
by: Morten Plathe |
last post by:
Hi,
Is there a way to override the shadowed (grey) backcolor of a textbox when the
textbox is disabled for input (textbox.enabled = false) ? In some cases I
want to
have a custom backcolor when...
|
by: David Laub |
last post by:
I have stumbled across various Netscape issues, none of which appear to be
solvable by tweaking the clientTarget or targetSchema properties. At this
point, I'm not even interested in "solving"...
|
by: Robert Kemp |
last post by:
I am creating a non-visible/tray control that monitors other custom controls
for changes (among other things). One of the monitored controls is a new
textbox that adds functionality to the...
|
by: AA Arens |
last post by:
I made a find record button on my form "company" (with field for name,
phone nr, e-mail etc.).
I expect that when I focus on one of the field, the "look in" of the
find-record dialog box should...
|
by: AA Arens |
last post by:
I use the undermentioned code to find a record in a predefined "Look
In" field:
Private Sub Command137_Click()
On Error GoTo Err_Find_Record_Click
Me.CompanyName.SetFocus
DoCmd.DoMenuItem...
|
by: nev |
last post by:
when i do...
dgv.enabled = false
dgv gets disabled as in you are unable to use the control. but it looks enabled because its appearance is still the same. Unlike a textbox which becomes...
|
by: puzzled |
last post by:
I have "Find" buttons throughout my database, each with focus on a different field (they were created with the wizard, then the focus set to the corresponding field with VB). If i press a find button...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
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,...
|
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...
|
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...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |