Conditional formatting to have transparent font colour - ms-access

I'm not sure if this is possible - I would like to have a conditional type formating on a field in a continous form, which will give the font colour of the field a transparent colour, so that the result is hidden.
I would like to do this to hide out a bunch of zero values. So far, I've tried setting the font colour to white on a zero value, but my odd lines have a light grey background, so it's still showing there. Is it possible to have a transparent font color, or to match it to the background colour of the line it's on?

If it's invalid for you to have 0s in the your results, don't refomat the colour to hide them, rewrite the query to exclude them / replace them with a blank or null value. If 0 is a valid result, then you shouldn't hide it, even if it looks ugly.

Related

Changing Textbox value color based on Background color

I want to change the Textbox value color based on the background color. How can i do it?
Unfortunately I can't use expression in my case for Textbox value color, since Background color has following calculation iif(exp1,red, iif(exp2,yellow,white)) to show Red and Yellow color and the textbox has a single iif likewise iif(exp1 or exp2,blue,black), apart of the formula it satisfies both exp1 and exp2 and change Textbox value color to blue in both red and yellow background even though it applies to only one background color.
What I am trying to explain is I can't use expression in my case for Textbox value color, I need to depend background color, is it possible?

Access 2013 - Conditional Formatting for checkboxes

I have a continuous subform in a form that shows several reminders - it has roughly 6 columns, and the last column has checkboxes where you can check it off if the reminder is complete. Is it possible to color the box if the last column is checked?
This is a great question! +1! (some people seem to give -1 everywhere)
Conditional formatting is limited to the formatting of text only, so you cant color the check box or its background directly.
Here is a full solution that doesn't even require VBA:
Place a new TextBox over your CheckBox an delete its label
Set it to background so it doesn't cover your CheckBox
Bind that TextBox to the same data field as your CheckBox
Set its font color to white (on white background since you don't want to see the text)
Disable it (since you don't want to enter data here)
Also deactivate it (since you don't even want to place the cursor here)
Now set the Conditional Formatting of this TextBox:
1st Condition: If equals 0 then set background AND font color to white
2nd Condition: If equals -1 then set background AND font color to i.e. red
looks great:

SSRS border lines with different colors not overlapping properly

I have a user-designed report that I am trying to replicate in SSRS, the report has a table with a default border color (Gray).
I need to draw a black line through one column, this adds the effect of separating the columns that lead up to the final column.
The problem I have is that the black line is not consistent but looks "split up" by the grey border of the table(and its cells).
The control used is a Tablix.
The workaround we have is to make the whole report color black or gray, but I'm just asking this to see if there is a way to implement different colors in an aesthetic way.
You can fix it by removing thick border and adding a BLANK column where you want the thick line.
Make the width of the column as per your requirement and make the borders to none for these cells (of blank column added). You may play with your left and right cells (it can be done). also, You should make the Can grow and Can shrik to False and True respectively.
If you want complete dark line (as shown), you may get an exception on the last row of the border for this particular added column. You can create a Report variable and keep the totalRecordCount and use it in expression of down border. Hope it helps!

Native/default colors for hovered title text and background

Natively in chrome/firefox, hovering over an element shows its title with a yellow background with black text.
Does anyone know the exact HEX or RGB colors for each?
thanks,
tim
Took a screen capture, opened it in photoshop, used the color picker to find the values.
In OSX/Chrome the tooltip yellow background is:
#ffffca
In OSX/Chrome the tooltip text is:
#000023
In OSX/FF the tooltip yellow background is:
#feffcd
in OSX/FF the tooltip text is:
#000
There are actually minor variations at some points in the Chrome bg, it's not a purely solid color. I'm not sure what would cause that anomaly. But the hex value I took was the most consistent, and any variations are negligible anyway.
Text is of course antialiased, and values were taken from what I perceived to be the darkest area of the text, which would correspond to its actual RGB/HEX value.
Hexidecimal color value for Windows tooltip background:
FFFFE1
Hexidecimal color value for Linux:
F6F6B9
RGB color value for Windows tooltip background:
(255,255,225)
RGB color value for Linux tooltip background:
(246,246,185)
From RGB space, you convert to Hunter-Lab space, use L condition(>0.5) to set the appropriate value,
http://dataanalysers.com/00ff00

Can you change the default color for selected text in MS Access?

I haven't found an existing post about this so I'll give it a shot.
I'd like to know if there is a way to change the default highlight color for selected text? Right now, whenever I invoke .SetFocus on a field, Access "selects" the contents of the field. The color it uses is black, and makes the data very hard to see. Is there a way to change that color?
Access simply swaps the background and foreground color as its means of highlighting text in a text box. As far as I know there is no way to change this behavior.
Obviously you can change the foreground and background colors themselves, but there is no separate "highlight" color that you can set independent of the foreground/background.
Although this isn't specificity for List Boxes I still think it is worth a note that List Boxes work slightly different (not sure why... maybe a different developer!) the selected row on a list box will inverts the colour of the background and foreground separately instead of swapping them.
For example if you had a light blue text on a white background normally the selected row would be a red text on a black background. The white inverts to black and the light blue inverts to red.
Or if you had
Not sure which method I like better but it would be nice if they where the same! Makes UI's look a lot better when they are consistent throughout the form!
Sometimes this problem can be caused by using a transparent text box on a background that is the same or similar color (with contrasting-colored text). Make sure you have the text box back color set to a same/similar color as the background.
Basically, you need the text box back color to contrast with the text. When highlighted, the highlight will be a contrasting color to the text box background color.