Solved

Changing border of TcxRichEdit

Posted on 2009-04-08
5
380 Views
Last Modified: 2012-05-06
Maybe it's something obvious and I just can't see it but the DevExpress TcxRichEdit component inserts a thick 3d style border. I'd like to change this to single line border, ideally blue. I've gone through all the style properties but can't get it to do this.

I'm using D7 and DevEx express editors 6.

Any help much appreciated.
0
Comment
Question by:ChrisJonesLycos
  • 3
  • 2
5 Comments
 
LVL 14

Expert Comment

by:SteveBay
ID: 24097013
The property that *should* control this is Style.BorderStyle. If this is not working for you then perhaps there is something overriding it.
What version of Windows OS are you using?
0
 
LVL 14

Expert Comment

by:SteveBay
ID: 24097027
Just another thought. Check the value of Style.AssignedValues.BorderStyle. Make sure it is True.
0
 

Author Comment

by:ChrisJonesLycos
ID: 24097403
Hi Steve
Yes, Style.AssignedValues.BorderStyle is True. When I go through the various Style.BorderStyle ebs... options they make no difference apart from ebsNone which gives me a kind of 3d indented box. Out of interest its parent which is a panel has the 3d property = False.
0
 
LVL 14

Accepted Solution

by:
SteveBay earned 250 total points
ID: 24097624
That parent panel does appear to have an affect on my system as well.  It makes Border on the TcxRichedit behave unpredictably while a TcxTextEdit behaves as expected.
I suspect that this may be a bug in the DevExpress Library.
Have you tried changing the parent panel.Ctl3D = True?
0
 

Author Closing Comment

by:ChrisJonesLycos
ID: 31567993
Wow! That's it. Changing parent.3d = True stops the TcxRichEdit component displaying 3d. Yes, obviously bug in the DevEx component.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question