Solved

MSFLEXGRID

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
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…
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…
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…

932 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

18 Experts available now in Live!

Get 1:1 Help Now