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
Please help.
Thanks in advance.

New Topic/Question
Reply



MultiQuote






|