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 » U++ Library : Other (not classified elsewhere) » Putting Point into ArrayCtrl / How to get it back?
Putting Point into ArrayCtrl / How to get it back? [message #10811] Tue, 31 July 2007 09:28 Go to previous message
zaurus is currently offline  zaurus
Messages: 42
Registered: May 2006
Member
Hi!

In my application I 'store' a Point variable in an array control. This works fine. Here is how the code roughly looks like.

Point p;
ArrayCtrl ac;

p = Point(50, 100);
ac.Add(p);

Now I want to read this data from the array control and then I get an error during runtime. It seems there is no conversion back, as the data is actually stored as a String in the array control.

p = Point(ac.GetColumn(0, 0));

Is there any function in U++ for the conversion?

Thanks for any short hints or comments.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: serial port in u++
Next Topic: Extra callback needed in SliderCtrl
Goto Forum:
  


Current Time: Sun May 05 12:48:32 CEST 2024

Total time taken to generate the page: 0.03007 seconds