Form Caption

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am using the On Current event to set the Form Caption:

Private Sub Form_Current()
Form.Caption = [Product Code]
End Sub

Can I change the font size/weight of the caption with additional code?
 
Tom said:
I am using the On Current event to set the Form Caption:

Private Sub Form_Current()
Form.Caption = [Product Code]
End Sub

Can I change the font size/weight of the caption with additional code?

Not using any built-in properties. You can probably do it with calls to
the Windows API, though I'd have to do some extensive googling to verify
that and find out how.
 
I am using the On Current event to set the Form Caption:

Private Sub Form_Current()
Form.Caption = [Product Code]
End Sub

Can I change the font size/weight of the caption with additional code?

No you can't change it for just the Access form caption.

However, the form caption can be changed (for ALL Windows
applications) by setting the Active Title Bar Font and Size in the
Windows property dialog.

Right-click on the Desktop. Select Properties.
Click on the Appearance tab. Click on Advanced button.
Select Active Title Bar in the Item drop down. Change and apply it's
settings. Again, this will affect all applications.
 
Thank you.
For that much effort I will suggest to my user she wear her glasses:)

Dirk Goldgar said:
Tom said:
I am using the On Current event to set the Form Caption:

Private Sub Form_Current()
Form.Caption = [Product Code]
End Sub

Can I change the font size/weight of the caption with additional code?

Not using any built-in properties. You can probably do it with calls to
the Windows API, though I'd have to do some extensive googling to verify
that and find out how.

--
Dirk Goldgar, MS Access MVP
www.datagnostics.com

(please reply to the newsgroup)
 
I am using the On Current Event to set the Form Caption because setting it in
the Form Properties by inserting [Product Code] does not work. Is this how it
is?

Dirk Goldgar said:
Tom said:
I am using the On Current event to set the Form Caption:

Private Sub Form_Current()
Form.Caption = [Product Code]
End Sub

Can I change the font size/weight of the caption with additional code?

Not using any built-in properties. You can probably do it with calls to
the Windows API, though I'd have to do some extensive googling to verify
that and find out how.

--
Dirk Goldgar, MS Access MVP
www.datagnostics.com

(please reply to the newsgroup)
 
Yes

Tom said:
I am using the On Current Event to set the Form Caption because setting it
in
the Form Properties by inserting [Product Code] does not work. Is this how
it
is?

Dirk Goldgar said:
Tom said:
I am using the On Current event to set the Form Caption:

Private Sub Form_Current()
Form.Caption = [Product Code]
End Sub

Can I change the font size/weight of the caption with additional code?

Not using any built-in properties. You can probably do it with calls to
the Windows API, though I'd have to do some extensive googling to verify
that and find out how.

--
Dirk Goldgar, MS Access MVP
www.datagnostics.com

(please reply to the newsgroup)
 
You can also add a textbox below form caption with bigger font, so she can
see it without glasses :-)

--
Best regards,
___________
Alex Dybenko (MVP)
http://alexdyb.blogspot.com
http://www.PointLtd.com

Tom said:
Thank you.
For that much effort I will suggest to my user she wear her glasses:)

Dirk Goldgar said:
Tom said:
I am using the On Current event to set the Form Caption:

Private Sub Form_Current()
Form.Caption = [Product Code]
End Sub

Can I change the font size/weight of the caption with additional code?

Not using any built-in properties. You can probably do it with calls to
the Windows API, though I'd have to do some extensive googling to verify
that and find out how.

--
Dirk Goldgar, MS Access MVP
www.datagnostics.com

(please reply to the newsgroup)
 
Back
Top