Joe:
I think when your write "done" to the property that is is not being 
refreshed. Since that isn't happening the program hangs in a loop 
because there is never a change.
What would happen if you issued a thisform.refresh() after you write "done"?
Just an idea...
Regards,

Jack Skelley

Joe Yoder wrote:
> I have a simple program where I send a command to a device and setup a timer 
> to write "DONE" to a form property when 100 milliseconds have elapsed. The 
> program then sits in a loop waiting until the the form property changes to 
> "DONE" before proceeding to process the results.
>  
> When I run the code the program hangs in the loop permanently. When I step 
> through with the debugger everything seems to work properly.  When I put a 
> wait window inside the wait loop, the program exits the loop properly.
>  
> There is obviously something I don't understand.  Can someone help?
>  
> TIA - Joe Yoder
> 
> 
> --- StripMime Report -- processed MIME parts ---
> multipart/alternative
>   text/plain (text body -- kept)
>   text/html
> ---
> 
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to