Print Page | Close Window

How to get the popup displayed while I enter text

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=19338
Printed Date: 30 August 2025 at 8:26pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to get the popup displayed while I enter text
Posted By: pierremf
Subject: How to get the popup displayed while I enter text
Date 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?



Replies:
Posted By: pierremf
Date 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? :(



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