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 » Cells appearance and text alignment
Re: Cells appearance and text alignment [message #25196 is a reply to message #25193] Sat, 13 February 2010 19:33 Go to previous messageGo to previous message
Sender Ghost is currently offline  Sender Ghost
Messages: 301
Registered: November 2008
Senior Member
mdelfede wrote on Sat, 13 February 2010 19:11


Anyways, if I've read well the docs, using AttrText makes it difficult to read back value from arrayctrl.


Not really. The AttrText struct is "raw value type" in ArrayCtrl.
For previous example you can use following code to display it:
int index = list.GetCursor();

AttrText data = ValueTo<AttrText>(list.Get(index, 1));

PromptOK(AsString(data.text));


After read your third message here:
Yes, there is other possibilities like using Display.
May be, hard tools are relative for this complex task.

[Updated on: Sat, 13 February 2010 19:46]

Report message to a moderator

 
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: How to Setup ArrayCtrl colors ?
Next Topic: GridCtrl large data set from DB
Goto Forum:
  


Current Time: Tue May 07 11:32:20 CEST 2024

Total time taken to generate the page: 0.02562 seconds