Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - How to get the popup displayed while I enter text
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to get the popup displayed while I enter text

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


Joined: 20 November 2007
Location: France
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote pierremf Quote  Post ReplyReply Direct Link To This Post Topic: How to get the popup displayed while I enter text
    Posted: 20 December 2011 at 10:22pm
I want to use report control with in place edition, like in the ReportSample tasklist dialog.

Problem is, when I type some text in an edit box with a dropdown list, the dropdown combobox is always closed. 

I can't type text in the edit control while the popup listbox is opened.

Is there a way to work around this?

I create a CXTPReportColumn with a combobox (pColumn->GetEditOptions()->AddCombobox(), also set m_bAllowEdit to true and m_bConstraintEdit to false so I can type text in the editbox).

I've noticed that CXTPReportInplaceList::OnKillFocus (the killfocus message handler for the popup listbox) closes the popup. This is the reason why the popup closes itself when the edit control has the focus.

How to be able to type text in the editbox while the popup control is open, like in a standard combobox?
Back to Top
pierremf View Drop Down
Newbie
Newbie


Joined: 20 November 2007
Location: France
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote pierremf Quote  Post ReplyReply Direct Link To This Post Posted: 26 December 2011 at 9:41pm
So it's not possible to get the popup displayed when I type text in a report control, like in a regular combobox? :(
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.047 seconds.