Solved

MSFLEXGRID

Posted on 2000-02-14
3
233 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
  • 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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.

Question has a verified solution.

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

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…
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.
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…

831 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