Results 1 to 4 of 4

Thread: How to manage timer ?

Hybrid View

  1. #1
    Member
    Join Date
    Apr 12
    Posts
    48

    How to manage timer ?

    I have 3 or more timers in form. Now, how can check it: enable = true or false??? Example, i want:
    Check 3 timer, if timerX.enable = true
    {
    timerX.enable = false;
    }
    Thanks for help.

  2. #2
    .NUT jmcilhinney's Avatar
    Join Date
    May 05
    Location
    Sydney, Australia
    Posts
    80,742

    Re: How to manage timer ?

    Think about it. The Enabled property of any object is a Boolean. How do you usually check IF a Boolean value is True or False?

  3. #3
    Fanatic Member x-ice's Avatar
    Join Date
    Mar 04
    Location
    UK
    Posts
    671

  4. #4
    .NUT jmcilhinney's Avatar
    Join Date
    May 05
    Location
    Sydney, Australia
    Posts
    80,742

    Re: How to manage timer ?

    I just read your first post again and I'm thinking I may have misinterpreted it slightly. Are you saying that you want to disable the Timer if it is currently enabled? What if it's currently disabled? Do you want to enable it? You need to provide a FULL and CLEAR explanation of the problem because your example seems to suggest something different to what you asked for.

Posting Permissions

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