Print Page | Close Window

Colour selection bug

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=3177
Printed Date: 09 November 2025 at 7:25am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Colour selection bug
Posted By: Dmitry
Subject: Colour selection bug
Date Posted: 07 November 2005 at 7:06pm
Hi,

In MS Office, when selecting a colour, the user can click on the CXTPControlPopupColor-equivalent, then while the mouse button is still down, select a colour from CXTPControlColorSelector-equivalent and on mouse-up the colour will be chosen.

In XTP (v9.70), nothing happens on mouse-up, and the user is forced to click again.

Is there a fix for this?

Regards,
Dmitry



Replies:
Posted By: Oleg
Date Posted: 08 November 2005 at 4:11am

Thank you for this point.

Here fix that will be ncluded in 9.81:

void CXTPControlColorSelector::OnLButtonUp(CPoint point)
{
 if (m_bEnabled && m_pParent->GetPosition() == xtpBarPopup)
 {
  OnClick(TRUE, point);
 }
}



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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