U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Library : Other (not classified elsewhere) » Putting Point into ArrayCtrl / How to get it back?
Re: Putting Point into ArrayCtrl / How to get it back? [message #10813 is a reply to message #10811] Tue, 31 July 2007 11:33 Go to previous messageGo to previous message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
See Core/Gtypes.h line 173.

The Point is stored as a Value in the ArrayCtrl and converted to a String only when displayed. To get it back you just have to do an explicit cast:
Point p = (Point) ac.GetColumn(0, 0);


James.
 
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: Thu Jun 11 10:33:33 GMT+2 2026

Total time taken to generate the page: 0.00609 seconds