Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Select Multiple Rows in MSFlexGrid

Posted on 1999-07-08
4
Medium Priority
?
938 Views
Last Modified: 2008-02-20
Does anyone know how to select multiple rows in MSFlexGrid ? I cannot find this properties in the properties window. Do I have to write up a function or use another grid to allow me to select multiple rows ??
0
Comment
Question by:Edithf
[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
  • 2
4 Comments
 

Expert Comment

by:TT
ID: 1522995
Where u drag your mouse over flxGrid1 to highlight
multiple rows on flexgrid,  u can recognize the rows selected by :

    liStart = flxGrid1.Row
    liEnd = flxGrid1.RowSel
    If liStart > liEnd Then
        liTmp = liStart
        liStart = liEnd
        liEnd = liTmp
    End If
    liStart is the starting of selection & liEnd is where your
    selection end
0
 
LVL 1

Author Comment

by:Edithf
ID: 1522996
The point is the row does not remain highlighted after I release my mouse button then how do I know it is hightlighted multiple row or not.
0
 
LVL 1

Author Comment

by:Edithf
ID: 1522997
TT

Sorry u are right. I just found out that somewhere in the codes they put .rowsel = .row no wonder I could not select multiple row. Pls re-post your answer & I'll give u points.
0
 

Accepted Solution

by:
TT earned 150 total points
ID: 1522998
Where u drag your mouse over flxGrid1 to highlight
multiple rows on flexgrid,  u can recognize the rows selected by :

    liStart = flxGrid1.Row
    liEnd = flxGrid1.RowSel
    If liStart > liEnd Then
        liTmp = liStart
        liStart = liEnd
        liEnd = liTmp
    End If
    liStart is the starting of selection & liEnd is where your
    selection end
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

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 how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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

660 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