Thanks Thomas,
I'll test using doevents as well. Question, what is autoyield set to in incorporating your doevents that was successful?
>Hi Tracy,
>
>I believe you are on the right path.
>
>In my port I have to massage a few VFP-screenobjects.
>worked like a charm in the first few tries while running
>under the debugger, but failed totally when running normally.
>
>That points to wait state snafu's, anf I resolved it with
>DoEvents, but the sleep API and a frustration born
>Wait wind "Scheisse" timeout 0.1
>worked as well.
>
>I stay with doevents because it should take less time
>if there are only few events to handle (my situation).
>
>If there are no activeX controls involved, IMHO Doevents
>is the better bet, but i can "hang" if you are using
>treeview (either MS or dBi)
>
>HTH
>
>thomas
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"