General information
Category:
Windows API functions
Hello Mal,
In your Example of:
>>>WITH THISFORM
>>>.....SetUpTimer(1,200,".DoThisMethod()")
>>>ENDWITH
the .dothismethod() must contain the correct info to close your form
down... So the first thing I would do is make sure the method is
firing by placing a WAIT WINDOW 'It Fired!' in the method...
That will display a window to let you know we're on the right
track... Then...
If you have a modal form, you'd need that method to state
to release the form "thisform.release()" (Without Quotes)...
If in your main.prg program you issued a Read Events call, then
you'd need that method to also have "clear events"... (Without Quotes)
Please let me know how it goes...
Thanx!
Bob
>Bob:
>
>Your questions are all right on the nose!!!
>
>But, then, .... I'm still not sure what needs to be done.
>Larry's suggestion, and I'm still trying to play with it, does not
>seem to work with this FLL.
>
>Any ideas?
>
>TIA
>
>>You might also want to make sure that the sample program
>>has an environment that is the same as yours.
>>
>>Do you have a modal form, and the sample app has a Non-Modal form?
>>This may be a cause.
>>
>>Do you require a Clear Events and the Sample
>>app does not? Might want to check this too...
>>
>>Good Luck..
>>Bob
>>
>>
>>>Hi:
>>>
>>>I Downloaded cppTimer.FLL from the Files section.
>>>
>>>The sample program runs great!!!
>>>
>>>This is how you start the timer and execute a command:
>>>SetupTimer(nTimerNo,nTimerInterval,cCommand)
>>>i.e. SetUpTimer(1,200,"QUIT")
>>>
>>>From within my form, SetUpTimer(1,200,"QUIT") executes and shuts down
>>>my program.
>>>
>>>However, a line such as ...
>>>
>>>WITH THISFORM
>>>.....SetUpTimer(1,200,".DoThisMethod()")
>>>ENDWITH
>>>
>>>does nothing.
>>>
>>>What's up with that?
>>>
>>>TIA
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only