Print Page | Close Window

BUG: FocusSubItems, UpdateRecord & Redraw Crash

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=14591
Printed Date: 21 November 2024 at 10:17pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: BUG: FocusSubItems, UpdateRecord & Redraw Crash
Posted By: jpbro
Subject: BUG: FocusSubItems, UpdateRecord & Redraw Crash
Date Posted: 21 June 2009 at 10:50pm
References: https://forum.codejock.com/forum_posts.asp?TID=14143 - https://forum.codejock.com/forum_posts.asp?TID=14143

In FocusChanging event - If you call UpdateRecord before Redraw, then the app will crash completely if FocusSubItems = True and the keyboard was used for navigation. If FocusSubItems = False or if the mouse is used for navigation, then there is no crash. I'm not sure why you would call these methods in the FocusChanging event, but nothing should crash the entire IDE/App, and there may be a good reason for this kind of call because it appears in the CodeJock ReportControl (new item row) sample.

Demonstration:

uploads/20090621_224751_RcSubItemsNavBu.zip - uploads/20090621_224751_RcSubItemsNavBu.zip


-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

Language: Visual Basic 6.0 SP6




Replies:
Posted By: jpbro
Date Posted: 21 June 2009 at 11:04pm
Similarly, if you call UpdateRecord in the SelectionChanged event, then the selection will be killed and no amount of clicking or arrow key pressing seems to get it back.

Demonstation:

uploads/20090621_230429_RcSubItemsNavBu.zip - uploads/20090621_230429_RcSubItemsNavBu.zip


-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

Language: Visual Basic 6.0 SP6




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net