Feb 15, 2002 #1 slsohy Programmer Joined Feb 11, 2002 Messages 2 Location AU what is the code to use a font dialog from a main menu
Feb 16, 2002 #2 footpad Programmer Joined Nov 9, 2000 Messages 1,086 Location US 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 Upvote 0 Downvote
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