?
Solved

FlexGrid Multiple selection

Posted on 2002-04-16
6
Medium Priority
?
406 Views
Last Modified: 2010-05-18
I have a VB program using a flexgrid. It displays a list of customers. The user has to click on each one to update their status. Is there a way where they can click down, hold and drag to select multiples customers. Any ideas.

Thanks
0
Comment
Question by:rian
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
6 Comments
 
LVL 46

Accepted Solution

by:
aikimark earned 200 total points
ID: 6945249
your user should be able to drag to select multiple rows.
you will need to add code in either the mouseup event or the selchange event, examining the colsel and rowsel properties.
you will need to iterate through the selected rows/columns to update the selected data.
0
 
LVL 46

Expert Comment

by:aikimark
ID: 7141605
rian,

Did my (rather old) comment help you or are you still searching for a solution?  A "C" grade usually means that you found the answer on your own, but the accepted comment lead towards the solution.  Sometimes a "C" is given when you don't get an acceptable solution.  Since I was the only responder, is there more you need to improve the quality of the solution?
0
 

Author Comment

by:rian
ID: 7141622
The reason why I gave it as an acceptable answer is the answer was general. It is not your fault. The question was pretty complex. I knew it was using the events you mentioned. I was looking for an example or document which would give me some more insight.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 46

Expert Comment

by:aikimark
ID: 7141676
You only needed to ask for more details.  After my initial comment, you didn't participate in the discussion.  I had no way to know if I'd solved your problem, you were working on the solution in my comment, or you were completely lost (beginner level).

Is this still a problem for you?
0
 
LVL 46

Expert Comment

by:aikimark
ID: 7142372
You can use the .RowSel and .Row properties to determine the two ends of a selected range of cells (or rows).

These values can then be used in a For...Next loop to extract the data in the column that contains customer IDs.

0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 7145065
aikimark,

Take a look at the following message and it should give you a clue as to why after nearly three months, this question was finaly closed:

http://www.experts-exchange.com/mssql/Q_20321370.html

Anthony
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question