Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Tablenode row anchorpoints (Read 2227 times)
kc13
YaBB Newbies
*
Offline



Posts: 29
Joined: Jan 19th, 2009
Tablenode row anchorpoints
Dec 15th, 2009 at 4:49pm
Print Post  
I have a tablenode with header/child rows with 2 columns.  I need to have anchor points on the rows, but, i want the anchor point to connect on (or near) the edge of the tablenode not inside the tablenode at the edges of the row.  Here's what i have:

Code
Select All
nod.OffsetHeaderRows = True
nod.Expandable = False
nod.Scrollable = True
nod.EnableStyledText = True
nod.ResizeToFitText(False)

nod.Columns(0).ColumnStyle = ColumnStyle.FixedWidth
nod.Columns(0).Width = 16
nod.Columns(1).ColumnStyle = ColumnStyle.AutoWidth

_TableRowAnchorPattern = New AnchorPattern(New AnchorPoint() _
	{New AnchorPoint(50, 50, True, False, Brushes.Green, 0), _
	 New AnchorPoint(50, 50, False, True, Brushes.Blue, 2)})
 



Also, the way it is, my column 0 contains an image which is overlayed by the anchor point.

Thanks in advance for the help....
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Tablenode row anchorpoints
Reply #1 - Dec 15th, 2009 at 6:32pm
Print Post  
Try the following points:

New AnchorPoint(0, 50, True, False, Brushes.Green, -1), _
New AnchorPoint(100, 50, False, True, Brushes.Blue, -1)

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
kc13
YaBB Newbies
*
Offline



Posts: 29
Joined: Jan 19th, 2009
Re: Tablenode row anchorpoints
Reply #2 - Dec 15th, 2009 at 6:50pm
Print Post  
Aha... yes. Thank you that worked well.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint