Hello,
I access the ‘page id’ in my project. However, this means that if I change the order of the page, I also have to adapt my code. Is there any way to access the page id?
e.g.: **n0.val=pageSetup.id** ( I know, it doesn’t work like this )
hello elf,
Unfortunately that doesn’t work. I would like to cache a page ID in a global variable for later processing at the touch of a button.
At the moment I enter this hard:
nextPage.val=5
So that I don’t always have to touch the programme code when I change the page sequence, I would like to use e.g:
Instead of changing page numbers or removing pages, simply put “page (name of replacement page)” in that page’s Preinitialize Event. Just add new pages and don’t delete the old. You can also edit any controls that activate old pages. No matter how you do it, you’ll have to edit some code for the changed numbers.
This forum is in no way affiliated with NEXTION®, ITEAD STUDIO®, TJC®, or anyone else really. All product names, logos, and brands are property of their respective owners. All company, product, and service names used in this website are for identification purposes only. Use of these names, logos, and brands does not imply endorsement from the respective rights holder(s).