timer!!!!
-
can somebody help me. i made a project that compose of many forms., in the 2nd form, it has timer that has only 30 min. and it will stop if 30 minutes is over. But if the 30 minutes is not yet over and i already reach the last form which is form10, the timer in the 2nd form should stop and the 2nd form will be hide. How can i do it? the project that i am making is an IQ test, and it has many pages, when the test is answered already, the timer should stop.. can somebody please help me about my problem.. thanks!
-
can somebody help me. i made a project that compose of many forms., in the 2nd form, it has timer that has only 30 min. and it will stop if 30 minutes is over. But if the 30 minutes is not yet over and i already reach the last form which is form10, the timer in the 2nd form should stop and the 2nd form will be hide. How can i do it? the project that i am making is an IQ test, and it has many pages, when the test is answered already, the timer should stop.. can somebody please help me about my problem.. thanks!
You end up with 10 forms visible ? Sounds like you really want a wizard type interface. Use delegates to get form10 to tell form2 that the timer is no longer required, and to make that form hide.
Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
You end up with 10 forms visible ? Sounds like you really want a wizard type interface. Use delegates to get form10 to tell form2 that the timer is no longer required, and to make that form hide.
Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
no, the other forms will not be visible. the only visible form is the 2nd form, the form that has timer. how to use delegates? can you tell me the codes for it?
I don't understand completely::confused: If all of these forms are in the same application then why don't you have form10 call form2's timer and tell it to stop.