Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - Deselect Row
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Deselect Row

 Post Reply Post Reply
Author
Message
energypf View Drop Down
Newbie
Newbie
Avatar

Joined: 13 October 2009
Location: Italy
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote energypf Quote  Post ReplyReply Direct Link To This Post Topic: Deselect Row
    Posted: 15 January 2013 at 11:47am
Hi, when I fill the control report and call the redraw event, I automatically select the first row. Is there a way to deselect all selected rows? I tried with SelectedRow.DeleteAll, but does not work. I also tried with this:
          If lstReport.SelectedRows.Count> 0 Then
 lstReport.SelectedRows.Row (0). Selected = False
  End if
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.