Print Page | Close Window

In-place combobox no longer works on 13.4.2

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=17842
Printed Date: 23 November 2024 at 7:24am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: In-place combobox no longer works on 13.4.2
Posted By: Aaron Koolen
Subject: In-place combobox no longer works on 13.4.2
Date Posted: 07 February 2011 at 5:38pm
In 13.3.0 I had an inplace combo box added to a CXTPReportControl using constraints and m_bConstraintEdit set to true. This worked fine but upon upgrading to 13.4.2, the drop down combo box no longer appears when the item is clicked. Has there been an API change in this area, or is this a defect?

If I set the editable flag in the report control, the drop down appears, but of course, the text box can now be typed in which is now what I want (I want only constraints to be selectable)

Regards
Aaron



-------------
Product: Xtreme ToolkitPro v13.3.0 (MFC)
Platform: Windows XP (32bit) - SP 3
Language: Visual C++ 6



Replies:
Posted By: Aaron
Date Posted: 08 February 2011 at 2:42pm

Hi,

I believe same 'problem' as some VB members think it is also a problem. Maybe MFC is behaving differently as ActiveX but if the implementation is same... Following example is in VB code but it explains what have to set Wink Bold properties should be set if you only allow selecting contraints for entire column.  

 
With Me.wndReportControl
        .AllowEdit = True                           'Should be True otherwise you can edit anything
                
        With .Columns
            With .Add(0, "Column 1", 100, True)
                With .EditOptions
                    .AllowEdit = False             'Only set if you allow typing in 'cell'
                    .ConstraintEdit = True      'Should be True otherwise your selected value from combo isn't set
............
 
 
If this doesn't work ask support or one of your fellow MFC members Tongue


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....



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