You know how the text in the attached label
sort of 'greys out' when you click something
that sets MyTextbox.Enabl ed = 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 2125
"MLH" <CR**@NorthStat e.net> schreef in bericht news:sf******** *************** *********@4ax.c om... You know how the text in the attached label sort of 'greys out' when you click something that sets MyTextbox.Enabl ed = 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.ena bled = False
Although I am sure this will do the 'trick', I am not sure this is what you want ;-)
But please set SubjectLine.Lon g = 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.Enabl ed = 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./
xxxxxxxxxxxxxxx xxxxxxxxxxxxxxx xx 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.
xxxxxxxxxxxxxxx xxxxxxxxxxxxxxx xx 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
many records. Two of the target fields in tblCorrespondence receiving
values in the append operation are and . For
any given VehicleJobID value, I want only ONE record in correspondence
table to have an value of "01". This query blindly appends...
|
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 the textbox is disabled.
The same question applies for a listview. When the listview is disabled, the
backcolor of the listview turns grey (shadowed) for the area which is not
filled
|
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" these problems - I'm more
interested in isolating them, .i.e. finding a "complete" list of issues.
Here's my list of serious issues found so far. By serious, I mean
functionality that fails, as opposed to much less serious (albeit annoying)
display...
|
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 standard textbox, and includes a
variable that points to the monitoring tray control... it works just like
the imagelist that is attached to any control that supports imagelists, such
as a treeview or listview. Everything is working the way I would like...
| |
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 be set to the field, but instead of that
it is set to the form name (company). To avoid it I have to set it
manually to the focussed field. How to have it default set to the
focussed field as I used to find records containing cetrtain data in
the...
|
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 acFormBar, acEditMenu, 10, , acMenuVer70
Exit_Find_Record_Click:
Exit Sub
Err_Find_Record_Click:
|
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 grayed-out.
what is the best way to make it look disabled like a disabled textbox?
|
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 and change the "Look In" combo to search the form instead of a field, the next "find" button i press defaults to 'Look In' the form, not the field that should have focus. The field that should have focus is available to select in the "Look In" combo...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
| |
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |