Paul wrote:
> 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 ;-)

Maybe we need to step back a little bit, what are you trying to do?

We think you have a grid (TableLayoutPanel) with some controls in it 
(Labels?), and you want to know the column of the grid that a specific 
Label is in.

so if:
- lesson is your TableLayoutPanel
- mylabel is the Label you want to find the column of

you would do:
int col = lesson.GetPositionFromControl (mylabel).Column;

If this isn't what you are going for, then please explain that and we'll 
help you out.  ;)

Jonathan
_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

Reply via email to