Solved

Changing border of TcxRichEdit

Posted on 2009-04-08
5
373 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
Comment Utility
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
Comment Utility
Just another thought. Check the value of Style.AssignedValues.BorderStyle. Make sure it is True.
0
 

Author Comment

by:ChrisJonesLycos
Comment Utility
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
Comment Utility
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
Comment Utility
Wow! That's it. Changing parent.3d = True stops the TcxRichEdit component displaying 3d. Yes, obviously bug in the DevEx component.
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

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…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video discusses moving either the default database or any database to a new volume.

771 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now