Solved

MSFlexGrid selection a row

Posted on 1999-01-27
5
164 Views
Last Modified: 2010-05-03
Hi,

I would like to know how to do when I click on any column
of a specific row, then it hilight that row like I select
the entire row.

Thank.
0
Comment
Question by:woaini
[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
  • 3
5 Comments
 
LVL 3

Accepted Solution

by:
traygreen earned 20 total points
ID: 1470937
Change the selection Mode to 1 -flexSelectionByRow
0
 

Author Comment

by:woaini
ID: 1470938
But, when you click on a row, it does not select the row with the dark blue color.

0
 

Expert Comment

by:kianwei
ID: 1470939
add these two statement in the msflexgrid1 on click event.

    MSFlexGrid1.Col = 0
    MSFlexGrid1.ColSel = MSFlexGrid1.Cols - 1

0
 

Author Comment

by:woaini
ID: 1470940
I try it, but it doesn't work !!!
0
 

Author Comment

by:woaini
ID: 1470941
Can you give me another example so I can try It.

Thank

0

Featured Post

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

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

696 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