clarionero Active Member Licensed User Longtime User Jul 20, 2018 #1 Hi. I'm parsing an XML with XmlSax library. It works perfectly, but I would like to put a ProgressDialogShow to indicate that the XML is being processed. Code: Copy ProgressDialogShow2("Processing the data...",False) parser.parse(ConvertStringToInputStream(sDatosXml), parser) ProgressDialogHide If I run the application the message is not displayed. If I put a breakpoint in ProgressDialogShow2 and go step by step with the debugging the message is displayed and everything works ok. Any ideas? Thank you Rubén
Hi. I'm parsing an XML with XmlSax library. It works perfectly, but I would like to put a ProgressDialogShow to indicate that the XML is being processed. Code: Copy ProgressDialogShow2("Processing the data...",False) parser.parse(ConvertStringToInputStream(sDatosXml), parser) ProgressDialogHide If I run the application the message is not displayed. If I put a breakpoint in ProgressDialogShow2 and go step by step with the debugging the message is displayed and everything works ok. Any ideas? Thank you Rubén
DonManfred Expert Licensed User Longtime User Jul 20, 2018 #2 Code: Copy ProgressDialogShow2("Processing the data...",False) sleep(50) parser.parse(ConvertStringToInputStream(sDatosXml), parser) sleep(50) ProgressDialogHide ? Upvote 0
Code: Copy ProgressDialogShow2("Processing the data...",False) sleep(50) parser.parse(ConvertStringToInputStream(sDatosXml), parser) sleep(50) ProgressDialogHide ?
clarionero Active Member Licensed User Longtime User Jul 20, 2018 #3 Woow you are the best DonManfred I had done tests with Sleep(0) and doevents. Your solution works perfectly. Thank you Rubén Upvote 0
Woow you are the best DonManfred I had done tests with Sleep(0) and doevents. Your solution works perfectly. Thank you Rubén