C cnicolapc Active Member Licensed User Longtime User Mar 17, 2011 #1 Hi, I can add a listView a CustomDialog? How I can get value with listview_itemclick on CustomDialog? Thanks in advance Nicola
Hi, I can add a listView a CustomDialog? How I can get value with listview_itemclick on CustomDialog? Thanks in advance Nicola
agraham Expert Licensed User Longtime User Mar 17, 2011 #2 Look at the demo in the archive. It implements a Click event from a button on a Penel in a CustomDialog. Upvote 0
Look at the demo in the archive. It implements a Click event from a button on a Penel in a CustomDialog.
C cnicolapc Active Member Licensed User Longtime User Mar 17, 2011 #3 hi, Thanks for the quick response Nicola Upvote 0
C cnicolapc Active Member Licensed User Longtime User Mar 17, 2011 #4 Hi Angraham, sorry but I can not capture the event ItemClick. I added the listview (List1) to CustomDialog and then I added the sub List1_ItemClick (as int position, value as Object) but I can not capture the value of such a msgbox (Value, "GetValue"). I do not get anything when I click on the list view in CustomDialog What is wrong? Thank You Nicola Upvote 0
Hi Angraham, sorry but I can not capture the event ItemClick. I added the listview (List1) to CustomDialog and then I added the sub List1_ItemClick (as int position, value as Object) but I can not capture the value of such a msgbox (Value, "GetValue"). I do not get anything when I click on the list view in CustomDialog What is wrong? Thank You Nicola
K kickaha Well-Known Member Licensed User Longtime User Mar 17, 2011 #5 When you initialize the listview do you set the event name to list1? Code: List1.Initialize("List1") Upvote 0
C cnicolapc Active Member Licensed User Longtime User Mar 17, 2011 #6 Yes is Initialized with "List1" Upvote 0
agraham Expert Licensed User Longtime User Mar 17, 2011 #7 It works fine for me Code: Sub List1_ItemClick (Position As Int, Value As Object) ToastMessageShow("ItemClick!", False) End Sub Note that you can't show a modal dialog, inside another modal dialog. Upvote 0
It works fine for me Code: Sub List1_ItemClick (Position As Int, Value As Object) ToastMessageShow("ItemClick!", False) End Sub Note that you can't show a modal dialog, inside another modal dialog.
C cnicolapc Active Member Licensed User Longtime User Mar 17, 2011 #8 Thank you, work fine...my error sorry. Nicola Upvote 0