BarryW Active Member Licensed User Longtime User Sep 16, 2014 #1 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.
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.
Erel B4X founder Staff member Licensed User Longtime User Sep 16, 2014 #2 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). Upvote 0
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).
DonManfred Expert Licensed User Longtime User Sep 16, 2014 #3 Have a look at the floating Windows-Class. It should work with your needs. Upvote 0
ttsolution Member Licensed User Longtime User Feb 5, 2015 #4 Hi all, How can we handle the OK_Click button event on CustomDialog cd.Show("", "OK", "Hủy", "", Null) I need to validate user inputs before close the dialog Thanks for any hepl Jonh, Upvote 0
Hi all, How can we handle the OK_Click button event on CustomDialog cd.Show("", "OK", "Hủy", "", Null) I need to validate user inputs before close the dialog Thanks for any hepl Jonh,
BarryW Active Member Licensed User Longtime User Feb 6, 2015 #5 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 Hope this helps.... Upvote 0
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 Hope this helps....