Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic how do I create a table moified event (Read 984 times)
chuckdawit
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 20
Joined: Sep 4th, 2009
how do I create a table moified event
Oct 7th, 2009 at 8:59pm
Print Post  
I would like to create a event when I resize a table using the table modified event handler. Can anyone point me to any examples?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: how do I create a table moified event
Reply #1 - Oct 8th, 2009 at 7:14am
Print Post  
Check if e.AdjustmentHandle is different than the move handle. You might define your event like this:

public event NodeEventHandler NodeResized;

and in the NodeModified handler:

if (e.AdjustmentHandle != AdjustmentHandles.Move && NodeResized != null)
     NodeResized(this, e);

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