Re: set caption to bold in code

alicejwz

Registered User.
Local time
Today, 12:43
Joined
Jul 9, 2003
Messages
91
Re: set caption to bold in code

Hi all,

I want to set the caption on the button to bold in code but I can't get syntax right. I'm using AC2K.

I tried the following
Me!cmdwo_shipping_sched.FontWeight = Bold
Variable not defined

Me!cmdwo_shipping_sched.FontBold
Object doesn’t support this property or method

Thanks for your assistance!
 
Thin 100
Extra Light 200
Light 300
Normal 400
Medium 500
Semi-bold 600
Bold 700
Extra Bold 800
Heavy 900

Me!cmdwo_shipping_sched.FontWeight = 700
 
Check out these samples I have posted on how to change the font properties for a command button when it has the focus. The other one shows how to update a label depending on which command button has the focus.

funwithbuttons.zip

mouseoverpopups.zip

You will be amazed but what you can find within this forum if you take the time to search for your questions.

Also, what's up with the double posting of your question?
 

Users who are viewing this thread

Back
Top Bottom