473,756 Members | 3,499 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Background colour in Continuous forms

Is it possible to set the background colour for each record in a continuous
form to the colour stored in a datafield within that record?

Hans Karman, Canberra, Australia
Nov 13 '05 #1
3 4143
The only way I know of to apply different formatting to different records in
a continuous form is to use conditional formatting. That, in turn, applies
only to textboxes, not to the form (or detail section itself).
So the quick answer is no, you can't do that per se.
A work-around, though, might be to put a locked textbox behind the entire
record, and use conditional formatting on that.
On second thought, you might want to disable it, too; if you don't, then
clicking on it - even accidentally- will bring it to the fore and obscure
everything else in the section.

HTH

"Hans Karman" <ha**@karman.au .com> wrote in message
news:41******@n ews.comindico.c om.au...
Is it possible to set the background colour for each record in a continuous form to the colour stored in a datafield within that record?

Hans Karman, Canberra, Australia

Nov 13 '05 #2
In what event does one put this conditional formatting? I've tried "on
current" but that had a bad effect on performance.

Hasn Karman, Canberra, Australia

"MacDermott " <ma********@nos pam.com> wrote in message
news:Hs******** ********@newsre ad3.news.atl.ea rthlink.net...
The only way I know of to apply different formatting to different records in a continuous form is to use conditional formatting. That, in turn, applies only to textboxes, not to the form (or detail section itself).
So the quick answer is no, you can't do that per se.
A work-around, though, might be to put a locked textbox behind the entire
record, and use conditional formatting on that.
On second thought, you might want to disable it, too; if you don't, then
clicking on it - even accidentally- will bring it to the fore and obscure
everything else in the section.

HTH

"Hans Karman" <ha**@karman.au .com> wrote in message
news:41******@n ews.comindico.c om.au...
Is it possible to set the background colour for each record in a

continuous
form to the colour stored in a datafield within that record?

Hans Karman, Canberra, Australia


Nov 13 '05 #3
Conditional formatting is applied to a control in Design View -
select the textbox, then on the menu click Format and Conditional
Formatting.

HTH
- Turtle

"Hans Karman" <ha**@karman.au .com> wrote in message
news:41******@n ews.comindico.c om.au...
In what event does one put this conditional formatting? I've tried "on
current" but that had a bad effect on performance.

Hasn Karman, Canberra, Australia

"MacDermott " <ma********@nos pam.com> wrote in message
news:Hs******** ********@newsre ad3.news.atl.ea rthlink.net...
The only way I know of to apply different formatting to different records
in
a continuous form is to use conditional formatting. That, in turn,

applies
only to textboxes, not to the form (or detail section itself).
So the quick answer is no, you can't do that per se.
A work-around, though, might be to put a locked textbox behind the

entire record, and use conditional formatting on that.
On second thought, you might want to disable it, too; if you don't, then clicking on it - even accidentally- will bring it to the fore and obscure everything else in the section.

HTH

"Hans Karman" <ha**@karman.au .com> wrote in message
news:41******@n ews.comindico.c om.au...
Is it possible to set the background colour for each record in a

continuous
form to the colour stored in a datafield within that record?

Hans Karman, Canberra, Australia



Nov 13 '05 #4

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

Similar topics

4
2489
by: Dj Frenzy | last post by:
Hi, I know how to use javascript to change a background image to another background image, and how to change a background colour to another background colour. Is there a way to change an image to a backgound colour? I have a table with a background that has a picture. When the user hovers over the picture I want the background to change to the background colour of the rest of the page, as if to make the picture disappear.
6
5236
by: Louise | last post by:
Hi I have written an HTML pages which does not have any colour specifying tags as far I know. When I view this in an Microsoft internet explorer browser it appears with a white background and black text but when I change Windows start menu->settings->control panel ->display -> appearance and change scheme to 'High Contrast Black' the background in the browser changes to black and the text to white. I understand that the windows scheme...
11
2491
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...
3
4766
by: Peter Williams | last post by:
Hi All, I want to write some javascript for a html page which does the following. Imagine that the page contains a table with 2 columns and 3 rows, e.g.: +---+---+ | A | B | +---+---+
3
2359
by: Hans Karman | last post by:
Is there any way in which I can have the background colour of one or more records set to the colour stored in a datafield within the record? Hans Karman, Canberra, Australia
1
1348
by: Brad | last post by:
Hi, I have read several postings about changing the colour of text for certain textboxes on a continuous forms. I however am unable to get this to work for what I am trying to do. When I put in my code for the control source I get the #Error showing up in the text boxes. What I have in the control source for the text box is: =iif(HotDeadLine=-1,nextActionDate,"") HotDeadLine is from a table and nextActionDate is also from the same...
5
2011
by: kaisersose1995 | last post by:
Hi, I am trying to add some visual confirmation to a continous form, to let the user know if a stored date on the form has passed. I have managed to set the background colour using a simple IF statement comparing the stored date with the Date() control and the .backcolour vb control. however once the background colour of the field has been set, it sets the colour for every line on the form. Is there anyway of making just specific cells on...
8
10176
by: Brian Ward | last post by:
I am looking for a simple way to set the image transparency in a PictureBox. I have a moving PictureBox containing a graphic image .. moving by incrementing its Left property. The background however shows white as the PictureBox moves but I want it to be transparent. The PictureBox BackColor is set to Transparent .. but no affect. I have used PhotoShop to make the image background transparent .. again no affect. If I make the image a...
2
6038
by: Wayne | last post by:
Has anyone found the "Alternate Background Color" property in Access 2007 forms to be buggy? As I scroll a continuous form that is using an alternate background color for every second record, the background colors get confused and go haywire. Nice feature if it worked propertly!
0
10032
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, 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...
1
9841
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,...
0
9711
tracyyun
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...
0
8712
agi2029
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...
0
6534
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();...
0
5141
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...
0
5303
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3805
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
2
3358
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.