?
Solved

MSFlexGrid selection a row

Posted on 1999-01-27
5
Medium Priority
?
165 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 40 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month9 days, 15 hours 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