Solved

Flex Grid, Select an Entire Row

Posted on 2000-03-31
2
128 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
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 50 total points
ID: 2673322
check out using
MSFlexGrid1.RowSel
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

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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 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…
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…

864 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