In-place combobox no longer works on 13.4.2 |
Post Reply |
Author | |
Aaron Koolen
Groupie Joined: 22 July 2009 Status: Offline Points: 32 |
Post Options
Thanks(0)
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 |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
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 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
|
|
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.... |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |