Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Point to Table Row (Read 1200 times)
jlimones
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 1
Joined: Aug 6th, 2007
Point to Table Row
Aug 6th, 2007 at 4:48pm
Print Post  
I'm creating a custom behavior, and I need to get the nearest achorpoint to where the user clicked on the table. Is there a function or method that would give me that? Each row on the table has associated anchorpoints...

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Point to Table Row
Reply #1 - Aug 7th, 2007 at 6:07am
Print Post  
There is such method but it is internal Undecided You can implement that yourself as shown here:

http://mindfusion.org/cgi/Forum/YaBB.pl?board=fcnet_disc;action=display;num=1139...

You must also find the row bounds. Set rowRect = Cell.GetEditRect() method to find the coordinates of the first cell in that row, and then set the rowRect.Width = table.BoundingRect.Width.

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