Hi masters, is there any way how to hide a custom dialog made by Andrew Graham after clicking or selecting an item from a listview inside on it. Hope someone will help. Tnx.
You cannot handle events while a modal dialog is visible. There might be other types of dialogs that include a built-in close button (there are several "dialogs" libraries).
Dim i as Int
i = cd.Show("Yes", "No", "Cancel", Null)
If i = DialogResponse.POSITIVE Then
'Your Codes
Else If i = DialogResponse.NEGATIVE Then
'Your Codes
Else If i = DialogResponse.CANCEL Then
'Your Codes
End If
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.