Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic AllowInplaceEdit bug? (Read 1346 times)
ulthien
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 91
Location: Munich
Joined: Nov 29th, 2011
AllowInplaceEdit bug?
Mar 5th, 2013 at 5:22pm
Print Post  
i just turned off all occurences of diagram.AllowInplaceEdit = true; in XAMLs and code, and still it reacts on double click and offers text boxes.

OFC, i can set the text rect to 0 in GetEditRect so it does not appear - but i think i did not have this problem with Diagramming version 2.6 few months ago?

we do have GetEditRect, SetEditedText and GetTextToEdit in code, but they should not enable the functionality on their own...

cheers
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: AllowInplaceEdit bug?
Reply #1 - Mar 5th, 2013 at 5:32pm
Print Post  
Are you sure you aren't calling the BeginEdit method from somewhere? You can verify by setting a breakpoint inside EnterInplaceEditMode handler and checking the debugger's call stack.
  
Back to top
 
IP Logged
 
ulthien
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 91
Location: Munich
Joined: Nov 29th, 2011
Re: AllowInplaceEdit bug?
Reply #2 - Mar 6th, 2013 at 9:35am
Print Post  
Yes, thats it - i found the place and now all is ok again Smiley

thx. Was not aware that BeginEdit overrides AllowINplaceEdit flag.

cheers
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint