Solved

FlexGrid Multiple selection

Posted on 2002-04-16
6
398 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
  • 4
6 Comments
 
LVL 45

Accepted Solution

by:
aikimark earned 100 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 45

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
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 
LVL 45

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 45

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Pull multiple cvs files into one access table 28 68
Adding to a VBA? 6 69
how to know if my Checkbox is True in VB6.0? 9 54
RUNRMTCMD from AS/400 12 44
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

776 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