Re: GetColumn problem

Paul <[email protected]>
Newsgroups gmane.comp.gnome.winforms
Organization Home
Message-ID <[email protected]>
Hi,

> > int col = lesson.GetPositionFromControl((TableLayoutPanel)sender).Column;
> > int row = lesson.GetPositionFromControl((TableLayoutPanel)sender).Row;
> >
> > is also giving -1 for both (as does
> > GetRow/GetColumn((TLP)sender).Row/Column)
> >
> > ??? What is going on?
> 
> You are asking the tablelayoutpanel for the column and row (the cell)
> fo the tablelayoutpanel :). You need to supply an argument that is a
> child control of the tablelayoutpanel.

Sorry for this being a dumb question, but can you explain this? I'm
doing things I've never done before, so you need to be gentle with
me ;-)

TTFN

Paul

-- 
Sie können mich aufreizen und wirklich heiß machen!

_______________________________________________
Mono-winforms-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-winforms-list
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEABECAAYFAkqxV2wACgkQaomOUCNPh0IQCgCfdACTQRZvjuH+JkxjieM08lLo
DLYAmwc38B1chbbgNDallav9glpKMFVD
=9ZmC
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.