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 |
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.
|
|
|
|
|
|
Goto Forum:
Current Time: Sat May 11 14:38:17 CEST 2024
Total time taken to generate the page: 0.02935 seconds
|