[Mono-winforms-list] GetColumn problem
Jonathan Pobst
monkey at jpobst.com
Wed Sep 16 12:02:37 EDT 2009
PFJ wrote:
> In that case, why is GetPositionFromControl returning -1 for column and not
> the actual column number? Is this a bug?
I guess it is either a bug in Mono or your code. ;)
If the MouseClick event you are attached to is on the TLP, the sender
will most likey be the TLP and not the control if you are doing this:
int colno = lesson.GetColumn((Control)sender));
Jonathan
More information about the Mono-winforms-list
mailing list