Print Page | Close Window

Code changes

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=16398
Printed Date: 07 May 2024 at 3:21am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Code changes
Posted By: Michl
Subject: Code changes
Date 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



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