Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - Code changes
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Code changes

 Post Reply Post Reply
Author
Message
Michl View Drop Down
Senior Member
Senior Member


Joined: 14 September 2007
Status: Offline
Points: 138
Post Options Post Options   Thanks (0) Thanks(0)   Quote Michl Quote  Post ReplyReply Direct Link To This Post Topic: Code changes
    Posted: 09 March 2010 at 5:05am
Hello

why was this introduced?


AFX_INLINE void CXTPReportControl::SelectionEnable(BOOL bEnable)
{
    m_bSelectionEnable = bEnable;
    if (!m_bSelectionEnable)
    {
        m_bInitialSelectionEnable = FALSE;
        m_bBlockSelection = FALSE;
        m_bControlKeyAlwaysOn = FALSE;
        m_pSelectedRows->Clear();
    }
}


Why is set Property [Set]MultipleSelection to disable if I turn off temporary Property SelectionEnable??
I would understand if this two properties mutally exlusive each other, but I can turn on MultipleSelection to true after calling SelectionEnable( FALSE ) again!?

So your default settings was overidden and our software was released with a bug :(

Michael
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.188 seconds.