Theme Font Not Being Applied to Control

JamesJoey

Registered User.
Local time
Today, 07:24
Joined
Dec 6, 2010
Messages
642
I have sever forms and selecting a Theme Font work fine with all except one form.

The field is a Memo Field (I have other forms with different memo fields and they are fine) that just doesn't want to use the Theme Font(s). I have several Theme Fonts and it doesn't work with any of them.

So far I've deleted the control saved it and then put it back... no good.
I even created a new form and the same thing happens.

Any ideas why this is happening???

James
 
theme settings are only valid for certain settings of controls. there are some settings for controls that prevent it using them fonts.

I can't give you a link off hand, but some border styles, colours and so forth countermand the theme setting. That's what you need to investigate, I think.
 
FYI
When I put the form in design the control shows the font name for the Theme Font I selected. But, when I put the form back in form view it displays the wrong font.
There is no code in the form that sets the Fonts.

Actually I do have code that I used for setting font names and sizes using ctl.ControlType.
When I use the code in the onload of the form it works.

Just doesn't work for the Theme Font.
 
look at access options. somewhere there is an option to select between "windows theme controls" and "access theme controls". If you choose the former, then that's what access does irrespective of other settings - makes controls follow the current windows theme - except that some control settings WILL over-ride the windows theme.

I thought that was what you meant - you WANTED windows themes , but were getting something else. So maybe it's the other way round. You want a particular access theme, but you are getting the windows theme.

If its a font issue, are you sure the font you want exists. Maybe the font name is case-sensitive. Some windows things are, even though access generally is not.
 
This is Access Themes.

It seems to work ok now that I placed another enabled, visible field on the form. Not sure why.
But, I am using a Where condition where the value of a text box is "Grocery List".
When I place that field on the form along with the memo field the them fonts work fine for the form.
 
Now the themes font isn't being applied to one of my other forms.
Very annoying.
I'll use code in the onload of the form to set the font.
But, I would rather see if I can fix this.
 

Users who are viewing this thread

Back
Top Bottom