Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic TableNode ? (Read 2182 times)
nick00
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 44
Joined: Nov 7th, 2008
TableNode ?
Nov 14th, 2008 at 8:07pm
Print Post  
I have two quetions
1. I have table nodes with 2 columns, 3 rows and
I dont want the column separator.

as i want to show image in the first column and string in the other column of the same row, i have icon with 300X300 but it seems it is not showing up properly in the cell, can you suggest me for this.

2. Is there any way to cancel the draw link event , as I dont want to allow user to draw the link, the link get created from the database
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: TableNode ?
Reply #1 - Nov 16th, 2008 at 9:12am
Print Post  
1. Set CellBorders = None and custom-draw the row separators using the DrawCell event handler.

2. If users should draw neither links nor tables, set DiagramView.Behavior = Modify.

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


I love YaBB 1G - SP1!

Posts: 44
Joined: Nov 7th, 2008
Re: TableNode ?
Reply #2 - Nov 21st, 2008 at 7:40pm
Print Post  
Would you please little more specific,

as I am not getting property-CellBoarders
also for should i use
table.CellCustomDraw = CustomDraw.Additional;
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: TableNode ?
Reply #3 - Nov 22nd, 2008 at 12:12pm
Print Post  
I meant set table.CellFrameStyle = None. CellCustomDraw = Additional should be ok, and then call e.Graphics.DrawLine() from the DrawCell event handler.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint