![]() |
|
|||||||
| The C-Bus Community Forums is place where C-Bus users can share information and help others with C-Bus. From time to time you will see Clipsal staff on the forums, but this is not an official support channel. If you really need help contact the official support services of Clipsal. More information about the purpose of this forum is available here. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Assuming you have a project with say 40 pages how do you find out what page is currently showing?
The “ShowingPage” seems to be based on the fact that you know the answer before you ask the question or do you have to do something like (syntax not valid). If Showingpage(‘aaaa’) then … Else If Showingpage(‘bbbb’) then ……… And so on, but you need to know the page names. OR For x =0 to 40 do If Showingpage(x) then … Endif next any ideas please. dave |
|
#2
|
|||
|
|||
|
There is currently no way of finding the current page other than what you have suggested. A "CurrentPage" function is on the list of things to do, but it never seemed like a very useful thing.
__________________
Regards, Darren |
|
#3
|
|||
|
|||
|
Darren
what I want it for was so I could reset timeout timer when a new page was selected by looking at the returned last page and current page names or numbers. The "getclick" function does not work with themes on pages need it to look at the whole page theme and the page itself. dave Last edited by Dave Byron; 29 May 06 at 11:44 AM. |
|
#4
|
|||
|
|||
|
Quote:
Quote:
__________________
Regards, Darren |
|
#5
|
|||
|
|||
|
Darren
The pic on the other thread shows buttons down left side that are a theme page and are used on all the linked pages. But the "getclick" does not get set on the theme buttons (Home, entry, etc) only when you move to the right and click on button on the page itself. do you want me to send the files to u ?? dave |
|
#6
|
|||
|
|||
|
I have worked out the cause of the problem. If the PICED page has changed since the click, then GetClick will return false, otherwise you may think that the user has clicked on the new page, which is not the case. This means that if the user clicks on a button which changes the page, the GetClick function will return false.
So your problem is not actually related to the fact that these buttons are on a theme page, it is caused by the change of page clearing the GetClick.
__________________
Regards, Darren |
|
#7
|
|||
|
|||
|
Darren
Tks so it means I will not know they changed page from the buttons only when they click somwhere on the new page itself. Another new command "transparent themes" or "layer merging", think about that one under a palm tree at end of month. tks again dave |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Photo Screen Saver | Darren | Community Logic Code Examples | 9 | 06 Aug 10 05:18 PM |
| Open ctouch page from cbus input. | Woody | C-Touch/HomeGate/SchedulePlus/PICED | 2 | 11 Nov 07 08:48 PM |
| Page Key Indicator number graphic | PGale | C-Bus Toolkit/C-Gate | 3 | 12 Jun 07 06:34 PM |
| Synchronising page links on 2 touch screens | remotesolutions | C-Touch/HomeGate/SchedulePlus/PICED | 3 | 28 Feb 06 08:44 PM |
| Confused re: using Ctouch with Toolkit | JohnC | C-Touch/HomeGate/SchedulePlus/PICED | 5 | 06 May 05 09:21 AM |