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 » Remove column of arrayCtrl? ok!
icon10.gif  Remove column of arrayCtrl? ok! [message #8453] Sun, 11 March 2007 14:02 Go to next message
apls is currently offline  apls
Messages: 2
Registered: March 2007
Junior Member
Who knows how to remove column of arrayCtrl?
I find AddColumn() but no RemoveColumn() or anything else....


Sad Sad Sad

[Updated on: Sun, 11 March 2007 16:26]

Report message to a moderator

Re: Remove column of arrayCtrl? [message #8454 is a reply to message #8453] Sun, 11 March 2007 15:25 Go to previous messageGo to next message
forlano is currently offline  forlano
Messages: 1185
Registered: March 2006
Location: Italy
Senior Contributor
apls wrote on Sun, 11 March 2007 14:02

Who knows how to remove one or all column(s) of arrayCtrl?
I find AddColumn() but no RemoveColumn() or anything else....
Clear() just clear the data...

Sad Sad Sad



Hi,

you can hide the unwanted columns with
...
arr.HeaderObject().HideTab(col1);
arr.HeaderObject().HideTab(col2);
...

But if you want to remove them physically perhaps you can try to remove all the array and then build it again with the new columns.

Luigi
icon14.gif  Re: Remove column of arrayCtrl? [message #8456 is a reply to message #8454] Sun, 11 March 2007 16:25 Go to previous messageGo to next message
apls is currently offline  apls
Messages: 2
Registered: March 2007
Junior Member
thanks

i found reset() can remove every thing
Very Happy
Re: Remove column of arrayCtrl? [message #17415 is a reply to message #8456] Thu, 14 August 2008 11:38 Go to previous messageGo to next message
TeCNoYoTTa is currently offline  TeCNoYoTTa
Messages: 138
Registered: July 2008
Location: Egypt
Experienced Member

i want to remove a row from ArrayCtrl .....how can i do that
Re: Remove column of arrayCtrl? [message #17416 is a reply to message #17415] Thu, 14 August 2008 11:56 Go to previous message
TeCNoYoTTa is currently offline  TeCNoYoTTa
Messages: 138
Registered: July 2008
Location: Egypt
Experienced Member

i found it at last from documentation

but why the Assist say it dont take arguments
Previous Topic: GridCtrl: Tooltip
Next Topic: ArrayCtrl Clear function
Goto Forum:
  


Current Time: Sun Apr 28 11:06:02 CEST 2024

Total time taken to generate the page: 0.51355 seconds