{"action":"created","issue":{"url":"https://api.github.com/repos/itead/ITEADLIB_Arduino_Nextion/issues/7","labels_url":"https://api.github.com/repos/itead/ITEADLIB_Arduino_Nextion/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/itead/ITEADLIB_Arduino_Nextion/issues/7/comments","events_url":"https://api.github.com/repos/itead/ITEADLIB_Arduino_Nextion/issues/7/events","html_url":"https://github.com/itead/ITEADLIB_Arduino_Nextion/issues/7","id":108941410,"number":7,"title":"Functions for \"set\" uses only getObjName() for object identification","user":{"login":"rastocs2","id":5691082,"avatar_url":"https://avatars.githubusercontent.com/u/5691082?v=3","gravatar_id":"","url":"https://api.github.com/users/rastocs2","html_url":"https://github.com/rastocs2","followers_url":"https://api.github.com/users/rastocs2/followers","following_url":"https://api.github.com/users/rastocs2/following{/other_user}","gists_url":"https://api.github.com/users/rastocs2/gists{/gist_id}","starred_url":"https://api.github.com/users/rastocs2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rastocs2/subscriptions","organizations_url":"https://api.github.com/users/rastocs2/orgs","repos_url":"https://api.github.com/users/rastocs2/repos","events_url":"https://api.github.com/users/rastocs2/events{/privacy}","received_events_url":"https://api.github.com/users/rastocs2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-29T19:24:54Z","updated_at":"2015-09-29T20:59:20Z","closed_at":null,"body":"Functions for \"set\" (SetText, SetValue, ...) uses only getObjName() for object identification, doesn't matter which pid is set:\r\ne.g. i have 2 pages, p0 and p1\r\non both pages is text element t1\r\nin arduino code is defined:\r\nNexText txt0 = NexText(0, 1, \"t1\");\r\nwhet i use function txt1.setText(buffer), this function change txt value of component t1 on actual page\r\nso when actual page in p1 then t1.txt on this page is changed\r\nbut txt0 was defined for page 0, not for page 1"},"comment":{"url":"https://api.github.com/repos/itead/ITEADLIB_Arduino_Nextion/issues/comments/144189731","html_url":"https://github.com/itead/ITEADLIB_Arduino_Nextion/issues/7#issuecomment-144189731","issue_url":"https://api.github.com/repos/itead/ITEADLIB_Arduino_Nextion/issues/7","id":144189731,"user":{"login":"bspranger","id":14210516,"avatar_url":"https://avatars.githubusercontent.com/u/14210516?v=3","gravatar_id":"","url":"https://api.github.com/users/bspranger","html_url":"https://github.com/bspranger","followers_url":"https://api.github.com/users/bspranger/followers","following_url":"https://api.github.com/users/bspranger/following{/other_user}","gists_url":"https://api.github.com/users/bspranger/gists{/gist_id}","starred_url":"https://api.github.com/users/bspranger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bspranger/subscriptions","organizations_url":"https://api.github.com/users/bspranger/orgs","repos_url":"https://api.github.com/users/bspranger/repos","events_url":"https://api.github.com/users/bspranger/events{/privacy}","received_events_url":"https://api.github.com/users/bspranger/received_events","type":"User","site_admin":false},"created_at":"2015-09-29T20:59:20Z","updated_at":"2015-09-29T20:59:20Z","body":"Correct, but you should only update objects that are actually on the page.\r\n\r\nIn my fork I have made it possible to get page events as a callback.  Then in the callback you can push the data for that specific page.\r\n\r\nOtherwise you had to always poll the display for it's current page."}}