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 » Not able to remove Columns in Grid.
Not able to remove Columns in Grid. [message #35115] Fri, 13 January 2012 12:32 Go to next message
Shwetha is currently offline  Shwetha
Messages: 36
Registered: August 2011
Member
Hii,

When trying to remove the column from the Grid Control, I am getting assertion error as below, after removing few columns from the grid or sometimes irrespective of columns.

Error:
................
Assertion failed in /root/upp/uppsrc/Core/Vcont.h, line 33
i >= 0 && i < items

Resource temporarily unavailable

................

Below is my code to remove column:
void GridTest::Remove_Col() 
{
	int count=grd.GetColumnCount();
	grd.RemoveColumn(count-1,1);
	grd.Repaint();
	
}
Re: Not able to remove Columns in Grid. [message #35116 is a reply to message #35115] Fri, 13 January 2012 15:09 Go to previous messageGo to next message
unodgs is currently offline  unodgs
Messages: 1354
Registered: November 2005
Location: Poland
Senior Contributor

Ok, fixed. Tonight in svn Smile
Re: Not able to remove Columns in Grid. [message #35118 is a reply to message #35116] Sat, 14 January 2012 07:05 Go to previous messageGo to next message
Shwetha is currently offline  Shwetha
Messages: 36
Registered: August 2011
Member
Hiii Unodgs,

I dint find it in svn.
Re: Not able to remove Columns in Grid. [message #35119 is a reply to message #35118] Sat, 14 January 2012 10:54 Go to previous messageGo to next message
unodgs is currently offline  unodgs
Messages: 1354
Registered: November 2005
Location: Poland
Senior Contributor

Ok, it is there now. I'm sorry for a delay.. Please try if it works for you.
Re: Not able to remove Columns in Grid. [message #35120 is a reply to message #35119] Sat, 14 January 2012 11:28 Go to previous messageGo to next message
Shwetha is currently offline  Shwetha
Messages: 36
Registered: August 2011
Member
I am sorry i am not able to view the update in svn. Kindly let me know the link .
Re: Not able to remove Columns in Grid. [message #35121 is a reply to message #35120] Sat, 14 January 2012 11:34 Go to previous message
unodgs is currently offline  unodgs
Messages: 1354
Registered: November 2005
Location: Poland
Senior Contributor

It's here:
http://code.google.com/p/upp-mirror/source/list
Previous Topic: ArrayCtrl: Edit doesn't like Option
Next Topic: Problem with Clipboard in GridCtrl
Goto Forum:
  


Current Time: Tue Nov 12 22:44:40 CET 2019

Total time taken to generate the page: 0.01310 seconds