Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 5 of 5
  1. #1
    Join Date
    May 2001
    Location
    51.531249 | -0.610962
    Posts
    1,244

    Inheritance problem

    hmm, here's something that's causing a pause for thought!

    I have Label object on a login page showing Date/Time [updated every second]. I wanted to move it to a 'menu' page that is inherited by all other pages so it appears on all pages instead of the login page only. Now, of course, it wont work coz the menu page events are not called like other 'shown' pages are. I need a global timer really with
    GlobalTimer > Page.Menu.LabelSetText (DateNow .. TimeNow)

    I know I can use swf to do this since that will always be running [or should] but didnt really wanna do that.
    Is there something i'm missing with this or is it the pain in the butt i think it is?
    -
    = Derek
    ["All glory comes from daring to begin" - fortune cookie]

  2. #2
    Join Date
    Sep 2002
    Location
    Sol 3
    Posts
    3,160
    You shoud be able to place your code in the On Timer event for the pages tha inherit that as an object. Create a function that updates the time in that object and place it on each page. Not the best solution but it should work.
    TJ-Tigger
    "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
    "Draco dormiens nunquam titillandus."
    Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

  3. #3
    Join Date
    May 2001
    Location
    51.531249 | -0.610962
    Posts
    1,244
    Quote Originally Posted by TJ_Tigger
    You shoud be able to place your code in the On Timer event for the pages tha inherit that as an object. Create a function that updates the time in that object and place it on each page. Not the best solution but it should work.
    Yeah I thought of that too. Just wasn't appealing having to go thru all the pages to paste the code in. Looks like it might be that or flash [or nothing!].
    Thanks, Tigg
    -
    = Derek
    ["All glory comes from daring to begin" - fortune cookie]

  4. #4
    Join Date
    Sep 2002
    Location
    Sol 3
    Posts
    3,160
    What might be cool is the ability to inherit code from an event on a page. But then again using functions you can do almost the same thing.

    Inherit Code from "Page5", "On Timer" event. something like that

    Tigg
    TJ-Tigger
    "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
    "Draco dormiens nunquam titillandus."
    Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

  5. #5
    Join Date
    May 2001
    Location
    51.531249 | -0.610962
    Posts
    1,244
    yeah, i agree.

    With the functions, altho its close, it doesnt quite have the same effect - as this 'hiccup' suggests. Or at least, not all the time.
    Looks like a suggestion box post!
    -
    = Derek
    ["All glory comes from daring to begin" - fortune cookie]

Similar Threads

  1. Video Problem
    By ScottDuncan in forum AutoPlay Media Studio 5.0
    Replies: 0
    Last Post: 07-10-2004, 01:38 PM
  2. PROBLEM: Setup Starts and then Crashes
    By Support in forum Setup Factory 5.0
    Replies: 0
    Last Post: 10-15-2002, 03:02 PM
  3. INFO: Tips for Debugging Action Lists in AutoPlay Media Studio 4.0
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-03-2002, 08:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts