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 remove a column from ArrayCtrl?
How to remove a column from ArrayCtrl? [message #21014] Sat, 25 April 2009 16:11 Go to next message
JoseB is currently offline  JoseB
Messages: 37
Registered: March 2009
Member
Hi,

Is there any way to remove all or a specific (added) column from ArrayCtrl?

Thanks you

JoseB
Re: How to remove a column from ArrayCtrl? [message #21063 is a reply to message #21014] Wed, 29 April 2009 20:29 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
JoseB wrote on Sat, 25 April 2009 10:11

Hi,

Is there any way to remove all or a specific (added) column from ArrayCtrl?

Thanks you

JoseB


You can remove all columns with Reset.

If you need to remove just one, you have to Reset and recreate.

You can also hide column using HeaderTab(...).Hide().

Note that removing column is not that easy given the model as there is loose relation between columns and row indicies.

Mirek
Previous Topic: GridCtrl column width simple question
Next Topic: ArrayCtrl whenSBchange
Goto Forum:
  


Current Time: Mon Apr 29 01:54:11 CEST 2024

Total time taken to generate the page: 0.06324 seconds