BUG: "Selected = True" doesn't work properly |
Post Reply |
Author | |
Alexey2
Senior Member Joined: 24 September 2006 Status: Offline Points: 124 |
Post Options
Thanks(0)
Posted: 20 October 2008 at 8:13am |
Looks like it's only selects the row, but focus remains on the earlier chosen row. (Try to comment ReportControl1.Populate, press button and then use keyboard arrow keys)
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Use
ReportControl1.Populate
ReportControl1.FocusedRow = ReportControl1.Rows(3) instead
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
ElvisM
Senior Member Joined: 12 October 2006 Location: Venezuela Status: Offline Points: 129 |
Post Options
Thanks(0)
|
Try populating first and then select the desired row.
Ragards.
|
|
Product: Xtreme SuitePro (ActiveX) version 17.2
Platform: Windows 10 64bits Language: Visual Basic 2015 |
|
Alexey2
Senior Member Joined: 24 September 2006 Status: Offline Points: 124 |
Post Options
Thanks(0)
|
oleg
Thank you, it works!
ElvisM
Unsuccessfully. |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi,
Strange that only: ReportControl1.Rows(3).Selected = True
is updating the reportcontrol ??? Is this designed this way? Why is the method UpdateRecord ever added if this does the same?
@Alexey2: don't call Populate just for just changing single item, there are other ways to update report. UpdateRecord and Redraw are faster when updating a single record.
An explanation of a supportmember would be nice
Thanks
|
|
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.... |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |