Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Not sure how to use FLL's
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00454320
Message ID:
00454443
Views:
36
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
Map
View

Click here to load this message in the networking platform