Solved

Changing border of TcxRichEdit

Posted on 2009-04-08
5
385 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
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…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

734 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