Shay Well-Known Member Licensed User Longtime User Jan 15, 2012 #1 Hi I have the following code: Sub View_Click Dim Send As View Dim Row As Int Send=Sender Row=Floor(Send.Tag/10) but sometimes tag does not exist (if I check Sender. parameters there is not tag inside) how do I check if ".tag" exist before running the Send.Tag/10 Thanks
Hi I have the following code: Sub View_Click Dim Send As View Dim Row As Int Send=Sender Row=Floor(Send.Tag/10) but sometimes tag does not exist (if I check Sender. parameters there is not tag inside) how do I check if ".tag" exist before running the Send.Tag/10 Thanks
klaus Expert Licensed User Longtime User Feb 12, 2012 #21 What do you have in the layout file ? Do you also have a Panel with the PanelReminder EventName ? Best regards. Upvote 0
What do you have in the layout file ? Do you also have a Panel with the PanelReminder EventName ? Best regards.
J jkurant Member Licensed User Longtime User Feb 12, 2012 #22 Yes, I do have a Panel with the PanelReminder EventName. I even tried p.GetView(0).Tag instead of p.Tag in the click event. Apparently, I don't "get" something and I think you know what it is! Please advise Upvote 0
Yes, I do have a Panel with the PanelReminder EventName. I even tried p.GetView(0).Tag instead of p.Tag in the click event. Apparently, I don't "get" something and I think you know what it is! Please advise
klaus Expert Licensed User Longtime User Feb 12, 2012 #23 In the layout file you should only have the views you want to add to the panel. No panel in the layout file ! Then it should work. As you already have a Panel with the same event name you have one instance too much. In general it would be much easier for us to help you if you posted your project as a zip file. So we could see what you have done and how. And also test changes. Best regards. Last edited: Feb 12, 2012 Upvote 0
In the layout file you should only have the views you want to add to the panel. No panel in the layout file ! Then it should work. As you already have a Panel with the same event name you have one instance too much. In general it would be much easier for us to help you if you posted your project as a zip file. So we could see what you have done and how. And also test changes. Best regards.