Changing border of TcxRichEdit

Posted on 2009-04-08
Medium Priority
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.
Question by:ChrisJonesLycos
  • 3
  • 2
LVL 14

Expert Comment

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?
LVL 14

Expert Comment

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

Author Comment

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.
LVL 14

Accepted Solution

SteveBay earned 1000 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?

Author Closing Comment

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

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Watch the video to learn how one can deal with PST file corruption issue with an outstanding Kernel for Outlook PST Repair Tool easily. Using this tool, non-technical users can swiftly perform the repair process to restore their essential data witho…
When you have multiple client accounts to manage, it often feels like there aren’t enough hours in the day. With too many applications to juggle, you can’t focus on your clients, much less your growing to-do list. But that doesn’t have to be the cas…

600 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