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 » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » ArrayCtrl: How can I refresh just one cell that changed?
Re: ArrayCtrl: How can I refresh just one cell that changed? [message #16054 is a reply to message #16052] Mon, 26 May 2008 00:24 Go to previous messageGo to previous message
jlfranks is currently offline  jlfranks
Messages: 57
Registered: May 2007
Location: Houston, TX, USA
Member
That's interesting. If I don't call Refresh() on the ArrayCtrl, then the new information does not update.

This behavior is happening when we are getting a real-time update from a data acquisition system that uses PostCallback.
This is dispatched and processed on our UI thread. The callback simply loads the new value into the cell of intest with SetData(row,column,value).

The problem arose because this new data is not being shown.
Using ArrayCtrl.Refresh() made the new information show up
for the new information to be displayed.

That's a big hammer and takes a lot of time. The updates
are comming in at 0.12 seconds, which should not be a problem.

Do you have any idea why this is not updating based on this
additional information?

We are on Linux UPP 2007.1 release at this time.

--jlf
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: ArrayCtrl, pop-up menus, and mouse problems...
Next Topic: bad align of an optionbutton in gridctrl
Goto Forum:
  


Current Time: Fri Jun 20 17:43:49 CEST 2025

Total time taken to generate the page: 0.02939 seconds