Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - REPORT CONTROL AUTOMATIC ROW SELECTION IN C#
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

REPORT CONTROL AUTOMATIC ROW SELECTION IN C#

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

Joined: 26 January 2009
Location: Philippines
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote sonix Quote  Post ReplyReply Direct Link To This Post Topic: REPORT CONTROL AUTOMATIC ROW SELECTION IN C#
    Posted: 07 April 2009 at 4:31am

Hi Sir,

 Good day.
May I know on how to select the the report control row[0] (like the click event behavior) automatically while selecting different node on treeview?
I'm using c# code... the used the code below but still no respond. thanks in advance.

rptMainMessages.Rows[0].Selected = true;

Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 08 April 2009 at 11:29am
Hi,
 
You can select row as you did already but it seems that row is selected (grayed) but not selected like you click with mouse.
If you would resize column or use scrollbar the RC will be redrawn and row will be really selected (blue).
 
After selecting a row:
 
wndReportControl.Rows[1].Selected = True
Call wndReportControl.SetFocus (this will have same effect)
 
 
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....
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.