Changing the Forecolor in MsgBox

  • Thread starter Thread starter Adam
  • Start date Start date
A

Adam

Hi,

I am aware that changing the Forecolor of a label could
take the form - lbl.Forecolor = vbRed, but in the context
of changing the color of the text that is displayed on a
MsgBox just mystifies me.

I've been trying things like:

MsgBox("The cost is:" & CALC).Forecolor = vbRed)

But I haven't succeeded.

Can it be done may I ask?

Many thanks

Adam
 
Adam said:
Hi,

I am aware that changing the Forecolor of a label could
take the form - lbl.Forecolor = vbRed, but in the context
of changing the color of the text that is displayed on a
MsgBox just mystifies me.

I've been trying things like:

MsgBox("The cost is:" & CALC).Forecolor = vbRed)

But I haven't succeeded.

Inventive!

You have no control over the MsgBox style, apart from the possibility
setting the first line bold (when you pass a string like "Warning!@@This
will cause loss of data" it bolds the part before @@)

Create a small form of your own and style that as you like.
 
What about things like the grey color buttons and tab
sheets. Can they be modified from within Access (ie not
changed through Control Panel>Display>Appearance)?

I'm asking this because I have a very fussy client who is
just as inventive as I am when it comes to creating
problems for me! For example, "I want pink oval buttons"!!!


Thanks

Adam
 
Adam said:
What about things like the grey color buttons and tab
sheets. Can they be modified from within Access (ie not
changed through Control Panel>Display>Appearance)?

I'm asking this because I have a very fussy client who is
just as inventive as I am when it comes to creating
problems for me! For example, "I want pink oval buttons"!!!
Try paint on the screen. It can be scraped off ;-)

Your client has to live with the limitations of the window manager anyway.
 
....Ohhh...the hourly rate? Umm...there's no hourly
rate...no money...it's free...you see she's good looking!!!

(:-))
 
Back
Top