I am writing a tabbed webbrower program and i am trying to close the program when all tabs have been closed using ctrl+w. So far i have used the following code but it has errors as tabcount is readonly:
If TabControl1.TabCount.Equals(0) then Me.Close() End If
Thanks in advance.
This post has been edited by curlyfries1999: 19 February 2012 - 09:26 AM