Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic How to replace image of row of tablenode (Read 3520 times)
CanadaProgrammer
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 113
Joined: Jun 30th, 2011
How to replace image of row of tablenode
Jul 11th, 2015 at 11:05am
Print Post  
I can insert rows to a table node, if a row includes child rows then there is image at left of the row to indicate this row expand or collapse. My question is how to show my image to replace to default image?

Thanks
  
Back to top
 
IP Logged
 
CanadaProgrammer
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 113
Joined: Jun 30th, 2011
Re: How to replace image of row of tablenode
Reply #1 - Jul 11th, 2015 at 11:09am
Print Post  
BTW:
my code like below:
this[0, currRow].Brush = new MindFusion.Drawing.SolidBrush(Color.FromArgb(0, 0, 0));
this[0, currRow].Font = MDGdi.NewRowFont;
this[0, currRow].Image = EmImages.SimpleEntity;

Only font can work, that is what I want. But Image and Brush does not effect the appearance of TableNode shape
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: How to replace image of row of tablenode
Reply #2 - Jul 13th, 2015 at 9:11am
Print Post  
You cannot change the collapse icon appearance at this time. Brush and Image properties of cells work fine in my test, check if you aren't resetting them to null values later.
  
Back to top
 
IP Logged
 
CanadaProgrammer
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 113
Joined: Jun 30th, 2011
Re: How to replace image of row of tablenode
Reply #3 - Sep 29th, 2015 at 8:20am
Print Post  
hi,
Thanks for your reply. Yes, actually I do want to change collapse icon. You say "You cannot change the collapse icon appearance at this time". I can not understand this sentence very well.

If you mean
1. I can not change the icon always
    This case, I will try to draw a icon by myself and that is what I do right now.

Or

2 I can not change the icon at that time.
   This case, It sounds there is an another time or other time that I can change the icon so what is the another time or other time?

Thanks a lot
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: How to replace image of row of tablenode
Reply #4 - Sep 29th, 2015 at 9:20am
Print Post  
By "at this time" I mean that at the time of writing this there are no options provided in public API to replace the +/- icon. However one might appear in newer versions, so future readers of this forum post should not jump to conclusions Smiley

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