?
Solved

Flex Grid, Select an Entire Row

Posted on 2000-03-31
2
Medium Priority
?
133 Views
Last Modified: 2010-05-02
I was wondering if it was possible to select an entire row automatically. What I want the user to do is click on a button then a list of the rows will pop up and from there they can select which row they want to remove. I know the user can do it click on a fixed row, I don't want them to do that. I was wondering if there was a way for the program to do it by themselves without the user click on the fixed row.

Thanks.
0
Comment
Question by:da_dawg88
[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 Comments
 
LVL 32

Expert Comment

by:Erick37
ID: 2673283
Private Sub Command1_Click()
    With MSFlexGrid1
    'set row 2, col 0
    .Row = 2
    .Col = 0
    'select all cols in row
    .ColSel = .Cols - 1
    End With
End Sub
0
 
LVL 6

Accepted Solution

by:
VBGuru earned 100 total points
ID: 2673322
check out using
MSFlexGrid1.RowSel
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

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 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…
Suggested Courses
Course of the Month14 days, 16 hours left to enroll

771 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