Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Tuesday, December 27, 2011 8:09:56 PM(UTC)
A.Tsutsumi

Groups: Registered
Posts: 2


I want to change the lborder line more thick.
Because I want to make the selected cell clearly understandable.

I tried find the way to change border line width, But I couldn't find.

Please advise me.
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Wednesday, December 28, 2011 7:23:48 AM(UTC)

Daoud  
Daoud

Groups: Registered
Posts: 256


One way to make the active subcell appear more clearly is to specify 3 different colors, one for each of the cell.ActiveBorderColor, cell.ActiveSubCellBorderColor and cell.NonActiveBorderColor.

If you want to make the border of a cell or subcell thicker, you can add a handler for the cell's PostPaint event, then check if the subcell is active by comparing the event's e.SubCellIndex to the cell's ActiveSubCell property, and then draw a rectangle using the event's e.Graphics.DrawRectangle() method.

 
#3 Posted : Wednesday, January 4, 2012 7:19:04 PM(UTC)
A.Tsutsumi

Groups: Registered
Posts: 2


Hi Daoud,
Thank you for your advise.

I don't want to use PostPaint event.
So I decide to find another way.

Thank you,
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.046 seconds.