Print Page | Close Window

The Multiple Selection problem

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=15455
Printed Date: 01 May 2024 at 9:55pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: The Multiple Selection problem
Posted By: Tracy
Subject: The Multiple Selection problem
Date Posted: 26 October 2009 at 12:51am
Hi;
 
I've set the Multiple Selection with the SetMultipleSelection(TRUE);
 
But it can't  support the mouse multiple selection, it always get just one row.
 
ps:I used 13.2



Replies:
Posted By: mdoubson
Date Posted: 26 October 2009 at 12:29pm

//-----------------------------------------------------------------------

// Summary:

// Changes allowing multiple selections for the control.

// Parameters:

// bMultipleSelection - TRUE for enabling, FALSE for disabling.

// Remarks:

// Sets the flag that determines whether the report allows multiple selections.

// See Also: IsMultipleSelection, GetSelectedRows

//-----------------------------------------------------------------------

void SetMultipleSelection(BOOL bMultipleSelection);

You need to use Shift or Control to extend your selection. Flag only ALLOW you to do it


-------------
Mark Doubson, Ph.D.


Posted By: mdoubson
Date Posted: 26 October 2009 at 1:05pm
If you want to emulate Control key always pressed - use function

void SetMultiSelectionMode(BOOL bMultiSelectionMode);

// Parameters:

// bMultiSelectionMode - TRUE for enabling, FALSE for disabling.

// Remarks:

// Sets the flag that determines whether the report is in multi-selection mode i.e. VK_CTRL is always ON



-------------
Mark Doubson, Ph.D.



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