A simple question about border of SyntaxEditor

SyntaxEditor for Windows Forms Forum

Posted 17 years ago by Dong JIA
Version: 4.0.0248
Avatar
Hi support,

I updated to V 4.0 from V 3.1 recentely.

Now I met a simple question:
Code in V3:
Border = new ActiproSoftware.Drawing.SimpleBorder(
ActiproSoftware.Drawing.SimpleBorderStyle.Sunken,
SystemColors.Control);

I know V4 introduce a render class, but I can not find the way to convert the above code into V4.

Could someone give me some advices?
Thanks in advance.

Dong JIA

BTW, I find there are a lot of code changes between V4 and V3.
Franklly to say, I like the new features you added very much but I hate the code changes.
It is not backward compatible and break my build. :(

[Modified at 04/28/2007 04:38 AM]

Comments (2)

Posted 17 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
The VisualStudio2005SyntaxEditorRenderer renderer (the default renderer implementation) has the Border property on it. So you can cast the renderer to a VisualStudio2005SyntaxEditorRenderer and then get to the Border property.


Actipro Software Support

Posted 17 years ago by Dong JIA
Avatar
Hi support,

Thank you very much.

I works perfectly. :)

Dong JIA
The latest build of this product (v24.1.0) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.