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
Solved

FlexGrid Multiple selection

Posted on 2002-04-16
6
400 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
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VBA error replacing data 6 40
Change the path of the data source in my Excel pivot table with macro 4 47
VB6 Compile Compatibility Issue 4 115
RUNRMTCMD from AS/400 12 69
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…
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…

860 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