Hi,
In my DialogResult form which pops out when the user want to delete something ,the close button is shown disabled(cant click on it).How can i enable it?
thnx in advance
Dimansu
0
Light Poster
Recommended Answers
Jump to PostIf its that dialog box s usercontrol then u can do this way,
Create instance for Usercontrol, using that instance u can get the close button ID. based on that ID assign whatever property u want to assign.
Jump to PostCan you specify what form you are using? DialogResult is a property of a form which can be returned if it is shown modally (ShowDialog).
Are you using a form you have designed, a MessageBox or a 3rd party control? If you have a 3rd party control then it will …
All 5 Replies
Renukavani
0
Junior Poster
Geekitygeek
480
Nearly a Posting Virtuoso
Dimansu
0
Light Poster
Geekitygeek
480
Nearly a Posting Virtuoso
Renukavani
0
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.