Toggle property

  • Thread starter Thread starter hasnain_razwi
  • Start date Start date
H

hasnain_razwi

Guest
hi all. does anyone know if a toggle property or method is available in vb.net. i want to create buttons that stay down (in the pressed state) when i click on them.
y did the creators of vb.net take out the inherited control array. it used to be so easy to work with them. but now i have to write a whole lot of code just to make one.:(
 
First, you can use a Checkbox and set the appearance to Button (you might want the Flatstyle to System as well).

As for why no more control arrays, check out this article or this one. There's another one that's more detailed but I can't find it offhand. Search these forums as the lack of control arrays in .NET is common question.

-Ner
 
Back
Top