BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

RichEdit and FontDialog

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.components.usage
View previous topic :: View next topic  
Author Message
Ois?n
Guest





PostPosted: Wed Jun 09, 2004 8:13 am    Post subject: RichEdit and FontDialog Reply with quote



I'm having a problem using FontDialog in combination with a RichEdit.
Here's what I want to do:

- In the RichEdit I select text with different formating styles and
fonts
- Then I open the font dialog for the selection, taking care to set
FontDialog.Option to fdNoStyleSel, fdNoSizeSel and fdNoFaceSel when
necessary which leaves the edits for font style, size and name
respectivly empty .
- On accepting the Dialog I want to know whether these edits are left
empty or
have been filled with a value. If they are left empty, I don't want to
change this attribute of the selected text.

I hope the above description is understandable and someone knows a
solution to my problem.

Oisín
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.components.usage All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.