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 » Slider&ProgressIndicator » ProgressIndicator in ArrayCtrl
Re: ProgressIndicator in ArrayCtrl [message #12530 is a reply to message #12359] Wed, 07 November 2007 16:46 Go to previous messageGo to previous message
mr_ped is currently offline  mr_ped
Messages: 825
Registered: November 2005
Location: Czech Republic - Praha
Experienced Contributor
I'm not sure what did cause the error and what kind of error you are talking about, but doing "delete progress" as long as the list control has the pointer too may be big problem. Unless the destructor of ProgressIndicator will notify the parent control about it's deletion, in such case the code is ok, but IMHO *looks* bad anyway.

Try to do "list.Set(i, CPROG, "OK");" ahead of delete, that will be more logical and more easy to read for my mind.
(and check if the second "Set" will destroy the reference of list to progress, or you need some Unset .. sorry, I can't give you exact help as I didn't need yet the UPP GUI so I'm not sure how those classes work and about their API)

If the problem persist, try to post here what the error is or wait for someone else to give you another hint.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Please, add SetColor function to ProgressIndicator
Next Topic: Problem with ProgressIndicator in Kubuntu Linux
Goto Forum:
  


Current Time: Wed May 08 02:34:10 CEST 2024

Total time taken to generate the page: 0.02413 seconds