Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FONT DIALOG

Status
Not open for further replies.

slsohy

Programmer
Joined
Feb 11, 2002
Messages
2
Location
AU
what is the code to use a font dialog from a main menu
 
slsohy,

Depends on what you're trying to accomplish, but the following will assign the font to a RichEdit selection:

Code:
  with FontDialog1 do
      if execute then
         RichEdit1.SelAttributes.assign( Font );

Note the use of the default names.

Hope this helps...

-- Lance

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top