Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - BUG: "Selected = True" doesn't work properly
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

BUG: "Selected = True" doesn't work properly

 Post Reply Post Reply
Author
Message
Alexey2 View Drop Down
Senior Member
Senior Member


Joined: 24 September 2006
Status: Offline
Points: 124
Post Options Post Options   Thanks (0) Thanks(0)   Quote Alexey2 Quote  Post ReplyReply Direct Link To This Post Topic: BUG: "Selected = True" doesn't work properly
    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)
 
 
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 21 October 2008 at 2:20am
Hi,
 
Use
ReportControl1.Populate
ReportControl1.FocusedRow = ReportControl1.Rows(3)
instead
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
ElvisM View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 October 2006
Location: Venezuela
Status: Offline
Points: 129
Post Options Post Options   Thanks (0) Thanks(0)   Quote ElvisM Quote  Post ReplyReply Direct Link To This Post Posted: 21 October 2008 at 2:26pm
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
Back to Top
Alexey2 View Drop Down
Senior Member
Senior Member


Joined: 24 September 2006
Status: Offline
Points: 124
Post Options Post Options   Thanks (0) Thanks(0)   Quote Alexey2 Quote  Post ReplyReply Direct Link To This Post Posted: 21 October 2008 at 2:38pm
oleg
Thank you, it works!
 
ElvisM
Unsuccessfully.
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: 24 October 2008 at 3:45am
Originally posted by Alexey2 Alexey2 wrote:

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)
 
 
 
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....
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.188 seconds.