J Jose Luis Barajas Member Licensed User Longtime User May 12, 2016 #1 Hi Its possible to have AnotherDatePicker on each CustomListView I have a customlistview with 100 items, in each item (panel) I need a field like anotherdatepicker Can help me with some sample code to go forward? Thanks in advance!
Hi Its possible to have AnotherDatePicker on each CustomListView I have a customlistview with 100 items, in each item (panel) I need a field like anotherdatepicker Can help me with some sample code to go forward? Thanks in advance!
Erel B4X founder Staff member Licensed User Longtime User May 12, 2016 #2 Each ADP is made of many views. I don't think that it is a good idea to add 100 ADPs. Add a single one to a panel and hide the panel. When the user clicks on the label with the date, bring the panel to the front and make it visible. In the Close event set the correct label value and hide it again. Upvote 0
Each ADP is made of many views. I don't think that it is a good idea to add 100 ADPs. Add a single one to a panel and hide the panel. When the user clicks on the label with the date, bring the panel to the front and make it visible. In the Close event set the correct label value and hide it again.
J Jose Luis Barajas Member Licensed User Longtime User May 12, 2016 #3 Hi Erel, I do not understand how to implement, I upload one image for show which are my requirement In each panel of customlistview I have many views, My only doubt (problem) its with datepicker If I open another activity to show the adp, I dont know how to put the datevalue in your corresponding panel item Please, some code can help me to see the sun! Upvote 0
Hi Erel, I do not understand how to implement, I upload one image for show which are my requirement In each panel of customlistview I have many views, My only doubt (problem) its with datepicker If I open another activity to show the adp, I dont know how to put the datevalue in your corresponding panel item Please, some code can help me to see the sun!
mangojack Expert Licensed User Longtime User May 12, 2016 #4 What @Erel is saying .. Place a single panel containing a Date Picker behind the CLV and Hide it. Code: Copy Panel1.SendToBack In each CLV panel place a label (date ) to act as AnotherDatePicker. When user clicks Label .. show panel containing ADP (BringToFront) , populate relevant label then hide panel again. Upvote 0
What @Erel is saying .. Place a single panel containing a Date Picker behind the CLV and Hide it. Code: Copy Panel1.SendToBack In each CLV panel place a label (date ) to act as AnotherDatePicker. When user clicks Label .. show panel containing ADP (BringToFront) , populate relevant label then hide panel again.