Solved

MSFLEXGRID

Posted on 2000-02-14
3
236 Views
Last Modified: 2010-05-02
Need some help on this grid or advice on which grid to use.  I am building a system that I want the user to be able to click on the fixed column and sort the grid based on the column clicked and also be able to doubleclick on a particular row to populate another form.  With MSflexgrid I can not figure out how to let my users click on the fixed row (row = 0) it always defaults to row = 1.  What am I doing wrong or is there a better grid control that I should be using?
0
Comment
Question by:rnields
[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
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
macu earned 300 total points
ID: 2519291
Why not use a ListView in report mode, they allow sorting by column (use Sorted, SortKey and SortOrder properties.) They also give you a ColumnClick event (for the columns) and an ItemClick event (for the rows.) You can add grid lines to it with the GridLines property and users will be comfortable with the way they work as they are common in Windows apps.
0
 

Author Comment

by:rnields
ID: 2519907
Adjusted points to 300
0
 

Author Comment

by:rnields
ID: 2519908
Something that I have not used before, but looks like it will work perfectly.  With this, why would I ever use a grid control if I only want to list out data?

Thanks!!
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

Suggested Solutions

Title # Comments Views Activity
Determine Range to Select 5 57
How to debug this code 7 65
passing a value with stream reader AFTER a ";" 3 84
MS Access 03, TransferText, decimal places 8 86
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…

730 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