Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 399
  • Last Modified:

Changing border of TcxRichEdit

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
ChrisJonesLycos
Asked:
ChrisJonesLycos
  • 3
  • 2
1 Solution
 
SteveBayCommented:
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
 
SteveBayCommented:
Just another thought. Check the value of Style.AssignedValues.BorderStyle. Make sure it is True.
0
 
ChrisJonesLycosAuthor Commented:
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
 
SteveBayCommented:
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
 
ChrisJonesLycosAuthor Commented:
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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now