Hello!
I have been assigned for the first time an adp Access project and so
far I have managed to make the changes needed for some requirements.
However, I am struggling to find the place where the application
changes the color of the background of a textbox. Here the explanation
goes:
This is a form bound to an SQL view. The detail section has several
fields, one of them being a textbox of name "Type". I checked its
properties and the color for the background (Back Color property in
the Format tab) is 16777215 (white). When the form is loaded the
background color changes to yellow when the value of "Type" is "W"
(and the font even changes to Bold!!). I am sure the previous
programmer had a reason for that but I have searched the string "Type"
in the whole project and I could not find any place where this
property was modified by code.
Does anybody have an idea where I can look for the specific place
where the application makes changes in the properties of the textbox
when it loads its value? All hints will be greatly appreciated!
Regards,
Jose R. Castro 3 8802
Look at the OnCurrent event of the form.
"Roberto Castro" <jr********@yah oo.com> wrote in message
news:4e******** *************** ***@posting.goo gle.com... Hello!
I have been assigned for the first time an adp Access project and so far I have managed to make the changes needed for some requirements. However, I am struggling to find the place where the application changes the color of the background of a textbox. Here the explanation goes:
This is a form bound to an SQL view. The detail section has several fields, one of them being a textbox of name "Type". I checked its properties and the color for the background (Back Color property in the Format tab) is 16777215 (white). When the form is loaded the background color changes to yellow when the value of "Type" is "W" (and the font even changes to Bold!!). I am sure the previous programmer had a reason for that but I have searched the string "Type" in the whole project and I could not find any place where this property was modified by code.
Does anybody have an idea where I can look for the specific place where the application makes changes in the properties of the textbox when it loads its value? All hints will be greatly appreciated!
Regards,
Jose R. Castro
As mentioned, it could be in the OnCurrent event of the form. It could also
be in the AfterUpdate event of the control and a couple of other places. The
first place I'd look though would be in Conditional Formatting. Open the
form in design mode, right click the control, and choose Conditional
Formatting...
--
Wayne Morgan
"Roberto Castro" <jr********@yah oo.com> wrote in message
news:4e******** *************** ***@posting.goo gle.com... Hello!
I have been assigned for the first time an adp Access project and so far I have managed to make the changes needed for some requirements. However, I am struggling to find the place where the application changes the color of the background of a textbox. Here the explanation goes:
This is a form bound to an SQL view. The detail section has several fields, one of them being a textbox of name "Type". I checked its properties and the color for the background (Back Color property in the Format tab) is 16777215 (white). When the form is loaded the background color changes to yellow when the value of "Type" is "W" (and the font even changes to Bold!!). I am sure the previous programmer had a reason for that but I have searched the string "Type" in the whole project and I could not find any place where this property was modified by code.
Does anybody have an idea where I can look for the specific place where the application makes changes in the properties of the textbox when it loads its value? All hints will be greatly appreciated!
Regards,
Jose R. Castro
Wayne, thanks for your help. Conditional formatting was used to make
this change at runtime.
Jose R. Castro
"Wayne Morgan" <co************ *************** @hotmail.com> wrote in message news:<DS******* ***********@new ssvr16.news.pro digy.com>... As mentioned, it could be in the OnCurrent event of the form. It could also be in the AfterUpdate event of the control and a couple of other places. The first place I'd look though would be in Conditional Formatting. Open the form in design mode, right click the control, and choose Conditional Formatting...
-- Wayne Morgan
"Roberto Castro" <jr********@yah oo.com> wrote in message news:4e******** *************** ***@posting.goo gle.com... Hello!
I have been assigned for the first time an adp Access project and so far I have managed to make the changes needed for some requirements. However, I am struggling to find the place where the application changes the color of the background of a textbox. Here the explanation goes:
This is a form bound to an SQL view. The detail section has several fields, one of them being a textbox of name "Type". I checked its properties and the color for the background (Back Color property in the Format tab) is 16777215 (white). When the form is loaded the background color changes to yellow when the value of "Type" is "W" (and the font even changes to Bold!!). I am sure the previous programmer had a reason for that but I have searched the string "Type" in the whole project and I could not find any place where this property was modified by code.
Does anybody have an idea where I can look for the specific place where the application makes changes in the properties of the textbox when it loads its value? All hints will be greatly appreciated!
Regards,
Jose R. Castro This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Mr. B |
last post by:
While at first this may seem a simple tast, it has plagued me for a while...
What I want to do is to have the background colour of something like a TextBox
to change from (say) White to Yellow to White to Yellow and then back to White
in about 1 second or so.
This is to create something like a 'flash' (or a Pulse) for when a User clicks
on 1 of 4 Radio Buttons (which change the Text in the TextBox). So in other
words, to get the...
|
by: Steve |
last post by:
I have windows form with the few TextBox controls.
Under certain conditions I disable or enable this controls by setting Enable
property to true or false: For example:
this.m_txtIP.Enabled = false ;
The controller become disabled, and I can't enter any data. The problem is
that the background color of the TextBox doesn't change whether it is enabled
or disabled.
It always looks like enabled.
|
by: tshad |
last post by:
I have a screen that is displaying an asp:textbox that has about 20 lines of
text with line feeds that I read out of my Database.
This displays fine as a multiline textbox. It doesn't as a Label. It jams
all the text together into one continuous line of text.
Is there a way to display the data like a textbox, but not look like a text
box? In other words, I don't want the border and I want it to be the same
color as the background of...
|
by: tshad |
last post by:
I cannot seem to get the asp:textbox to use classes. Style works fine. I
am trying to set the textbox to act like a label in some instance so it
doesn't have a border, readonly and the background is grey.
I have a class set as:
..table2Label{
border-style:none;
background-color:#F6F6F6;
}
|
by: Simon |
last post by:
I've only recently got started using VB.net Compact Framework, and I'm
struggling to create a read-only Textbox with a white background.
Even though I can set the background colour of a textbox, as soon as I set
the control to read-only it turns the background grey. Unfortunately I
can't set the enabled property to false as sometimes I need the scrollbars
to work on the Textbox. I did think about using a label instead of a
Textbox, but...
| |
by: ngpost1 |
last post by:
I have a Crystal Reports.Net report being generated from my C#
application. I would like to change the background color of the
details section (not the text mind you) of the report on certain
conditions. For example if the value of the 'Meeting Number' is
greater than 100 the background color of the details section will be
light yellow, otherwise it will be white. There will be multiple
records in this reports so one (or a few) detail...
|
by: sjickells |
last post by:
Hi
I am having a problem using asp:TextBox's in a transparent table.
I have a background image on the page and a table in the middle of the
page. I have set the background colour of the table to white the used
CSS to set the opacity to 90 so that you can see the background image
through the table.
The problem I am having is with the textboxes in the transparent
|
by: da5namroi |
last post by:
One of my my textboxes has a nice white background when running on an
XP machine, but becomes dark blak when running on a Vista.
Does anybody know how I can fix this? Thank you.
|
by: Marco Pais |
last post by:
Hi there.
How can I change the background color of a textbox when it gets the focus?
I can handle the "Enter" event and do this
private void txtDummie_Enter(object sender, EventArgs e) {
txtDummie.BackColor=Color.Red;
}
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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: 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: 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.
| |