Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - problem with EditOnClick + ComboButton
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

problem with EditOnClick + ComboButton

 Post Reply Post Reply
Author
Message
Kukis View Drop Down
Newbie
Newbie


Joined: 24 May 2006
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kukis Quote  Post ReplyReply Direct Link To This Post Topic: problem with EditOnClick + ComboButton
    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?

Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Kukis View Drop Down
Newbie
Newbie


Joined: 24 May 2006
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kukis Quote  Post ReplyReply Direct Link To This Post Posted: 05 June 2006 at 9:18am
OK, its fixed in 2006 Q2.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.