Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - In-place combobox no longer works on 13.4.2
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

In-place combobox no longer works on 13.4.2

 Post Reply Post Reply
Author
Message
Aaron Koolen View Drop Down
Groupie
Groupie


Joined: 22 July 2009
Status: Offline
Points: 32
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Koolen Quote  Post ReplyReply Direct Link To This Post Topic: In-place combobox no longer works on 13.4.2
    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
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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....
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.152 seconds.