Jump to content


Problem with ioEndEditOnUnfocus

  • Please log in to reply
1 reply to this topic

#1 janszpilewski

  • Members
  • 1 posts
  • Gender:Male
  • Location:Paris, France

Posted 12 August 2016 - 02:01 PM



I am on Delphi XE5 and use TNextInspector6 6.0.15. I noticed that if ioEndEditOnUnfocus is set, procedure TNxCustomInspector6.EndEdit()  is called twice in a reentering way when another row is selected.


First time from TNxCustomInspector6.SetSelectedNode() and the statement:


FInplaceEdit.Parent := nil;


invokes a chain of handlers that finally calls TNxCustomInspector6.DoExit() which invokes colliding, reentering EndEdit() and causes a crash.


To deal with it I added a guard FEndingEdition to block reentering EndEdit(). Maybe this collision can be avoided in a more structured way? 


This problem can be easily reproduced with i.e. Events Demo.

#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 7,880 posts
  • Gender:Male

Posted 12 August 2016 - 09:40 PM


I will fix it. It should be in next update.
boki@bergsoft.net | LinkedIn Profile
BergSoft Home Page: www.bergsoft.net
Members Section: bms.bergsoft.net
Articles and Tutorials: dn.bergsoft.net (Developers Network)
BergSoft Facebook page
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users