Of the following code, the statements for color do not work, in Access 2010; the fontsize statement works:
Me.MsgBoard.SetFocus
Me.MsgBoard.BackColor = vbYellow
Me.MsgBoard.ForeColor = vbRed
Me.MsgBoard.FontSize = 12
What is needed to make the Back Color and fore color statements work???
Notes:
MsgBoard is a multi-line text box on a form. The code is in the form's module.
Me refers to a fairly complex form that was originally generated in Access 2007, where color was easy and straightforward to control.
I also have found the ability to control color on control buttons and toggle buttons not to work;whereas they worked fine in Access 2007.
Any help in understanding the color control changes from Access 2007 to Access 2010, would be very much appreciated!!