1 Replies - 3211 Views - Last Post: 02 January 2009 - 12:37 AM Rate Topic: -----

#1 Jarrhed  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 84
  • Joined: 01-January 09

Gray Out X button in Application

Posted 01 January 2009 - 11:56 PM

How do I grey out the X button to close the window on the top right corner of the window?
Is This A Good Question/Topic? 0
  • +

Replies To: Gray Out X button in Application

#2 PsychoCoder  Icon User is offline

  • Google.Sucks.Init(true);
  • member icon

Reputation: 1641
  • View blog
  • Posts: 19,853
  • Joined: 26-July 07

Re: Gray Out X button in Application

Posted 02 January 2009 - 12:37 AM

You can get rid of it by setting the ControlBox Property to False.

Here is a tutorial on disabling an applications close button. It's written in C# but the same concept applies to VB.NET since they're both .Net languages :)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1