Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook - Using Forms (http://www.outlookbanter.com/outlook-using-forms/)
-   -   Changing font colour of Textbox control (http://www.outlookbanter.com/outlook-using-forms/61009-changing-font-colour-textbox-control.html)

willwong November 12th 07 10:21 AM

Changing font colour of Textbox control
 
Hi,

I was just wondering if this was possible? The idea is to mark the input in
red to highlight an invalid account number submission after it has been
validated

Thanks,

Will

Sue Mosher [MVP-Outlook] November 12th 07 01:33 PM

Changing font colour of Textbox control
 
You'd need to set the ForeColor property of the control. See http://www.outlookcode.net/article.aspx?ID=38

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"willwong" wrote in message ...
Hi,

I was just wondering if this was possible? The idea is to mark the input in
red to highlight an invalid account number submission after it has been
validated

Thanks,

Will


willwong November 12th 07 05:53 PM

Changing font colour of Textbox control
 
To be honest I already know how to go about changing the colour. I'm really
just stuck on what values are available for use.

Is there perhaps a list somewhere I can refer to?

"Sue Mosher [MVP-Outlook]" wrote:

You'd need to set the ForeColor property of the control. See http://www.outlookcode.net/article.aspx?ID=38

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"willwong" wrote in message ...
Hi,

I was just wondering if this was possible? The idea is to mark the input in
red to highlight an invalid account number submission after it has been
validated

Thanks,

Will



Sue Mosher [MVP-Outlook] November 12th 07 06:18 PM

Changing font colour of Textbox control
 
If you want red, use the VB constant vbRed.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"willwong" wrote in message ...
To be honest I already know how to go about changing the colour. I'm really
just stuck on what values are available for use.

Is there perhaps a list somewhere I can refer to?

"Sue Mosher [MVP-Outlook]" wrote:

You'd need to set the ForeColor property of the control. See http://www.outlookcode.net/article.aspx?ID=38



"willwong" wrote in message ...
Hi,

I was just wondering if this was possible? The idea is to mark the input in
red to highlight an invalid account number submission after it has been
validated

Thanks,

Will




All times are GMT +1. The time now is 01:32 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com