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 » How to change column's name in ArrayCtrl
How to change column's name in ArrayCtrl [message #44978] Wed, 05 August 2015 18:34 Go to next message
giamal84 is currently offline  giamal84
Messages: 1
Registered: August 2015
Location: Italy
Junior Member
Hello,
i have this ArrayCtrl :

ArrayCtrl list;

list.AddColumn(t_("Title"));
list.AddColumn(t_("Author"));
list.AddColumn(t_("City"));
list.AddColumn(t_("Telephone"));

if i want change the column's name, how can I do?

Best Regards,
Gianni
Re: How to change column's name in ArrayCtrl [message #44981 is a reply to message #44978] Thu, 06 August 2015 12:11 Go to previous message
koldo is currently offline  koldo
Messages: 2992
Registered: August 2008
Veteran
Hello giamal84

You may try this:

list.HeaderTab(column).SetText("New name");


Best regards
IƱaki
Previous Topic: ArrayCtrl Display memory usage
Next Topic: GridCtrl display problem in windows10
Goto Forum:
  


Current Time: Mon Sep 23 00:32:30 CEST 2019

Total time taken to generate the page: 0.01125 seconds