View Full Version : Sub Pages Time/out
Dave Byron
07 Sep 10, 06:35 AM
I need a way of timing out a Sub Page when it is used in the popup mode so the Sub Page does not stay there for ever, the example include in Piced stays there.
Suggestion.
Have the same time out settings as a normal page but only enable on Sub Pages used in popup mode, when used in a fix mode disable the timeout.
As a work around, can I use the logic to detect the Sub Page is pop upped and start a timer that goes back to the pop down mode ??
tks
dave
Dave Byron
07 Sep 10, 07:23 AM
Darren
What does the number at the front mean as opposed to the frame number ??
Maybe we could have a "Show Frame Number" option to indicate were the frames are, like the components.
tks
dave
Dave Byron
07 Sep 10, 08:10 AM
The project checking routine now needs to look at the Sub Pages and check the "PageLink" entry so that it does not indicate an Error 206
Error 206 : Page "1St Blinds" can not be reached from the dark time-out page. (hide)
Error 206 : Page "1St Blinds" can not be reached from the start-up page. (hide)
tks
dave
Darren
07 Sep 10, 08:55 AM
I need a way of timing out a Sub Page when it is used in the popup mode so the Sub Page does not stay there for ever, the example include in Piced stays there.
Suggestion.
Have the same time out settings as a normal page but only enable on Sub Pages used in popup mode, when used in a fix mode disable the timeout.
This sounds like a good idea. The easiest thing to do would be to set the default sub-page in the frame on time-out.
As a work around, can I use the logic to detect the Sub Page is pop upped and start a timer that goes back to the pop down mode ??
There is a logic function to find which sub page is selected in a frame, and a procedure to select the sub-page in a frame. You could use logic to do your own time-out.
Darren
07 Sep 10, 08:56 AM
What does the number at the front mean as opposed to the frame number ??
Maybe we could have a "Show Frame Number" option to indicate were the frames are, like the components.
The number at the start is the component number of the frame. It is probably not of a lot of interest now that you can use component tags in the logic functions.
Darren
07 Sep 10, 08:57 AM
The project checking routine now needs to look at the Sub Pages and check the "PageLink" entry so that it does not indicate an Error 206
Error 206 : Page "1St Blinds" can not be reached from the dark time-out page. (hide)
Error 206 : Page "1St Blinds" can not be reached from the start-up page. (hide)
Good point. Thanks.
Dave Byron
07 Sep 10, 01:42 PM
Darren
It seems like Piced will except buttons being over laid but NOT TEXT.
See pics
tks
dave
Error 208 : Page "Home Page", Component 13 (Text "Window") is completely obscured by Component 21 (Sub-Page Frame 8) (hide)
Dave Byron
10 Sep 10, 08:38 AM
Darren
Can u give me a sample code to time out a Sub Page ??
Something like this I guess, also note;
Piced Logic Help still not work in Windows 7 (I need to get syntax right, too many different languages) and
the description in the help file of CurrentPage needs to indicate what it returns, a string or a number, better example.
tks
dave
{ Home Popup }
once CurrentPage = "Sub Home Down Buttons" then
begin
TimerSet(1, 10);
TimerStart(1);
if TimerTime(1) = 0 then
ShowPage("Sub Home Up Buttons");
end;
Darren
10 Sep 10, 11:21 AM
Can u give me a sample code to time out a Sub Page ??
if ShowingPage("Page 1") and ShowingSubPage("Page 1", "Sub-Page Frame 1", "Menu Down") then
begin
if not TimerRunning(1) then
TimerStart(1);
if TimerTime(1) = 10 then
ShowSubPage("Page 1", "Sub-Page Frame 1", "Menu Up");
end
else
begin
TimerStop(1);
end;
Piced Logic Help still not work in Windows 7
Are you running from the Start Menu, or from a short-cut? If using a Short-Cut, you have to have the working directory set (the "start in" property of the short-cut).
the description in the help file of CurrentPage needs to indicate what it returns, a string or a number, better example.
It is a number. I will update help file.
Dave Byron
10 Sep 10, 11:53 AM
Darren
Time out logic works, now to add to the other pop ups.
Are you running from the Start Menu, or from a short-cut? If using a Short-Cut, you have to have the working directory set (the "start in" property of the short-cut).
Fixed that one - maybe the install should add the above
tks
dave
Dave Byron
10 Sep 10, 12:45 PM
1: Get the Logic compile to check this line valid
ShowingPage("Home Page") and ShowingSubPage("Home Page", "Sub-Page Frame 8", "Sub Lounge Wind N Up")
2:Have the Wizard make the above with valid selections of the Frame Number and Sub Page combination.
dave
vBulletin® v3.7.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.