Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Check Box
Message
 
To
14/11/2001 10:45:17
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00581002
Message ID:
00581568
Views:
23
>>>
>>>If the timer.enabled is set to a different value programmatically, the checkbox should reflect the change. Very good method proposed by Jim, I think.
>>
>>The change was reflected only if you issue a "thisform.refresh()"
>>
>
>Actually, probably only the checkbox needs to be refreshed. Further, the "timer checkbox" class could be created; using the assign method, this.refresh() could handled automatically.
>
>>BTW, what i mean is that a checkbox should
>>not be use to run a command.
>
>Running a command? He is turning on a timer...
>BTW, it is good practice to turn off a timer when the timer event fires. Then at the end of the method, turn it back on. This prevents problems that may occur if the length of the process is longer than the timer interval.
>
>I have noticed you think he is Steven is trying to perform a one shot deal (I think at one point you suggested he call the timer method directly from a command button). Well, if that is the case, he should use a command button, and he shouldn't even be using a timer.
>
>However, I don't think that is the case, or why would he be using a timer?
>
>>
>>IMO, the command button was design to this task.
>>
>
>Yes, if you are running a command.

With the little details given by Steven i can assume something
and you can assume something else...

You and others who have reply to my reply
was right with your answers... if your assumption
was the right one. :-)

I respect your oppinions and find this thread interesting.

Steven will sort this thread and certainly
find the rigth answer to his question.

:-)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Previous
Reply
Map
View

Click here to load this message in the networking platform