Print Page | Close Window

problem with EditOnClick + ComboButton

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=4274
Printed Date: 24 November 2024 at 9:19am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: problem with EditOnClick + ComboButton
Posted By: Kukis
Subject: problem with EditOnClick + ComboButton
Date Posted: 24 May 2006 at 12:42pm
Strange behaviour can be monitored when column is not editable but has combo button attached and whole report is made not editable with the single click.
 
This behaviour can be checked in the ReportControl.ReportSample.exe example with the addition of wndReport.EditOnClick(FALSE);
 

int CTaskListView::OnCreate(LPCREATESTRUCT lpCreateStruct)

{

.......

pColumnImportance->GetEditOptions()->AddConstraint(_T("Low"), taskImportanceLow);

pColumnImportance->GetEditOptions()->AddConstraint(_T("Normal"), taskImportanceNormal);

pColumnImportance->GetEditOptions()->AddConstraint(_T("High"), taskImportanceHigh);

pColumnImportance->GetEditOptions()->m_bAllowEdit = FALSE;

pColumnImportance->GetEditOptions()->AddComboButton();

.......

wndReport.EditOnClick(FALSE);

wndReport.AllowEdit(TRUE);

wndReport.FocusSubItems(TRUE);

.......

}

Constraints list box appears and disappears immediately when pColumnImportance column is double clicked. So its quite difficult to make a selection in this case. Any suggestions how to overcome this problem?




Replies:
Posted By: sserge
Date Posted: 26 May 2006 at 3:27pm
Thanks for reporting this bug, it will be fixed with the next version of the toolkit.

--
WBR,
Serge


Posted By: Kukis
Date Posted: 05 June 2006 at 9:18am
OK, its fixed in 2006 Q2.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net