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 » Developing U++ » Bugs (& fixes) » ArrayCtrl: Column::Edit and control disappears
ArrayCtrl: Column::Edit and control disappears [message #16899] Sun, 20 July 2008 01:14 Go to previous message
Mindtraveller is currently offline  Mindtraveller
Messages: 917
Registered: August 2007
Location: Russia, Moscow rgn.
Experienced Contributor

I want to make some multi-column list, where 2 of the columns have values selected from DropList with predefined values. I`ve tried to choose the easiest way:
	propAddTypeList
		.Add("prop_1")
		.Add("prop_2")
		.Add("prop_3")
		.Add("prop_4")
		.Add("prop_5")
		.Add("prop_6")
		.Add("prop_7")
		.Add("prop_8");

	propList.AddColumn("....", 4).Edit(propAddTypeList);

I hoped this should make everything alright. After app starts this column has droplist. The problem is when i walk through rows (with mouseclick?) - this control disappears and never appears again.

I tried to restore control manually, but with no luck:
	propList.WhenEnterRow = THISBACK(OnEnterRow);
	...
void Razdel::OnEnterRow()
{
	propList.ColumnAt(1).Edit(propAddTypeList);
}


Is it a bug or I`m doing something wrong?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Apps have high font zoom under Linux [FIXED]
Next Topic: Pop-up help for Toolbar icons located in wrong display on multidisplay setup
Goto Forum:
  


Current Time: Fri Apr 19 17:32:34 CEST 2024

Total time taken to generate the page: 0.04290 seconds