Saturday, January 16, 2010

In VB.net (Visual Studio 2005), how can I get dynamically get the Top property of the last control in a panel?

I am generating a group of radio buttons. I want to get the Top value of the last generated radio button so I can generate a group of check boxes underneath it. My aim is to allow a questionnaire creator to dynamically create questions of type (multiple choice, free entry, etc).Thanks in advanceIn VB.net (Visual Studio 2005), how can I get dynamically get the Top property of the last control in a panel?
radioButtons[radioButtons.Length].Top

No comments:

Post a Comment