Finding the tabindex of a label

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

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?

Paul
-- 
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.

_______________________________________________
Mono-winforms-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-winforms-list
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.