TPDesign4 String by PageFlip?
John_Glove
Junior Member
Hi
It's a time ago i wrote some code and now i want to update my design on my iphone. (TPControl).
I want to take the ext controls like "drag left or right", shake and so on.
Is there a way to send a string to the code everytime the page changes? i want to drag left, chenge the page and send a string to the code with the name of the actual page.
thanks for help me
john
It's a time ago i wrote some code and now i want to update my design on my iphone. (TPControl).
I want to take the ext controls like "drag left or right", shake and so on.
Is there a way to send a string to the code everytime the page changes? i want to drag left, chenge the page and send a string to the code with the name of the actual page.
thanks for help me
john
Comments
-
Someone may know better, but I don't think you can do it the way you suggest. You can accomplish this several other ways. One would be to keep track of what page you last TOLD the phone to be on... then when you see the code you assign to the drag, TELL the phone what page should be next.
-
ok,thats another way :-) send the page change from code....
-
Isn't this what the page tracking feature is for?
-
Sure. But I don't see any PAGE TRACKING in the TPControl menus. I presume it isn't supported.
Aside, Page tracking in the manner the OP suggests seems to me to be missing the point of a powerful central controller. It makes the UI into an island of control, like a universal remote, making all the decisions, only casually telling the center where it has gone. I prefer the model where the UI says a user wants a thing to happen, and the center decides what to do about that, including driving navigation on the panel, based on the context of what, who, and where of the moment.
So a PLAY button doesn't cause a discrete IR code to emit from a specific port. It says "user of this UI wants PLAY on the source of the moment for the room where the UI is targeted right now". The code decides how to do that, and if a page flip is also needed at the UI in question..CONTEXT allows one UI project to work in every room.
More work (ONCE!), huge benefits in flexibility and system-wide intelligence. The Netlinx can be way smarter than hard-coded panel button logic. Don't treat it like a IO box.
Categories
- All Categories
- 2.5K AMX General Discussion
- 922 AMX Technical Discussion
- 514 AMX Hardware
- 502 AMX Control Products
- 3 AMX Video Distribution Products
- 9 AMX Networked AV (SVSI) Products
- AMX Workspace & Collaboration Products
- 3.4K AMX Software
- 151 AMX Resource Management Suite Software
- 386 AMX Design Tools
- 2.4K NetLinx Studio
- 135 Duet/Cafe Duet
- 248 NetLinx Modules & Duet Modules
- 57 AMX RPM Forum
- 228 MODPEDIA - The Public Repository of Modules for Everyone
- 943 AMX Specialty Forums
- 2.6K AMXForums Archive
- 2.6K AMXForums Archive Threads
- 1.5K AMX Hardware
- 432 AMX Applications and Solutions
- 249 Residential Forum
- 182 Tips and Tricks
- 146 AMX Website/Forums