?
Solved

MSFLEXGRID

Posted on 2000-02-14
3
Medium Priority
?
247 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 1200 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

Independent Software Vendors: 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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
Suggested Courses
Course of the Month10 days, left to enroll

762 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