BUG: FocusSubItems, UpdateRecord & Redraw Crash |
Post Reply |
Author | |
jpbro
Senior Member Joined: 12 January 2007 Status: Offline Points: 1355 |
Post Options
Thanks(0)
Posted: 21 June 2009 at 10:50pm |
References: 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 |
|
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3 Language: Visual Basic 6.0 SP6 |
|
jpbro
Senior Member Joined: 12 January 2007 Status: Offline Points: 1355 |
Post Options
Thanks(0)
|
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 |
|
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3 Language: Visual Basic 6.0 SP6 |
|
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 |