[Mono-winforms-list] Finding the tabindex of a label

PFJ pjohnson1 at uclan.ac.uk
Wed Feb 3 07:59:38 EST 2010


I have a large number of labels in a window all of which point to the same
event and all of which work (in other words, they call the event).

Only problem is that I don't seem to be able to find the tabindex of the
label clicked

Normally I'd have something like

public void dosomething(object sender, EventArgs e)
   int foo = (Label)sender.TabIndex;

but casting sender isn't showing the TabIndex property.

Is there a way to do this?

View this message in context: http://old.nabble.com/Finding-the-tabindex-of-a-label-tp27435810p27435810.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.

More information about the Mono-winforms-list mailing list