Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » The right way to use CoDo with GuiLock? (The app freeze when trying to update the GUI while CoDo)
Re: The right way to use CoDo with GuiLock? [message #58549 is a reply to message #58544] Sun, 12 June 2022 16:40 Go to previous messageGo to previous message
Mountacir is currently offline  Mountacir
Messages: 49
Registered: November 2021
Member
One more question please.

Is there any approach to CoWork for updating the ColumnList as every worker finish? instead of waiting till all of them are finished to update.

void CoTest::CoForTest2()
{
	list.Clear();
	
	for(int i = 0 ;i < 100 ;++i )
		list.Add("Calculating");	
	
	GuiUnlock __;
	CoFor(100, [=](int i) {
		
		//Some Calculation
		
		GuiLock __;
		list.Set(i,"Result"); //How to make this show now?
	});
}



Thank you!
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Different File List
Next Topic: SVG for tool icon
Goto Forum:
  


Current Time: Sat May 10 21:13:42 CEST 2025

Total time taken to generate the page: 0.00824 seconds