Solved

FlexGrid Multiple selection

Posted on 2002-04-16
6
394 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
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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 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…
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…

759 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now