Print Page | Close Window

[SOLVED] press ^ twice

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=16906
Printed Date: 23 November 2024 at 2:51pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [SOLVED] press ^ twice
Posted By: jimmy
Subject: [SOLVED] press ^ twice
Date Posted: 02 July 2010 at 10:51am
Hello,

after press ^ twice, there is a wrong handling in the report control.
Because you receive 2 char ^ to the report control.
after the first it open the editor and send ^ to it. Ok.
after receive the second. it close the exist editor and create a new one.
same problem with other 2 keypress char's.

it fired a OnEditChanged and this is not ok.

Any solution for this ?

  jimmy



Replies:
Posted By: znakeeye
Date Posted: 04 July 2010 at 8:07am
Hmm, you're saying that OnEditChanged is triggered before the character pops up? This reminds me of typing a dead key in the VC editor (yielding a token error that you can't see). Considering that, I would argue that a dead key is indeed a valid "edit changed" event. http://msdn.microsoft.com/en-us/library/ms646267%28VS.85%29.aspx#_win32_Dead_Character_Messages -
 
 
http://msdn.microsoft.com/en-us/library/ms646267(VS.85).aspx#_win32_Dead_Character_Messages


-------------
PokerMemento - http://www.pokermemento.com/


Posted By: jimmy
Date Posted: 04 July 2010 at 10:16am
Hi,

I think the problem is, that windows send this 2 char to the report windows, and not only the first.
My workaround is, that i catch WM_CHAR and check if the inplace is open. and this work for me.

  Jimmy




Posted By: ABuenger
Date Posted: 04 July 2010 at 4:22pm
You can reproduce this with Notepad. Press ^ once and you see'll nothing, press it again and you have two ^^.



-------------
Codejock support


Posted By: jimmy
Date Posted: 04 July 2010 at 5:53pm
Yes , i known.
But in Report Control it open the inplace editor, close it, and open a new inplace editor.
you see only one ^ char.
but the greatest problem is, that OnEditChanged is fired.

  Jimmy



Posted By: ABuenger
Date Posted: 11 April 2011 at 12:04pm
Fixed for 15.0.3



uploads/1755/ReportSample_16906.zip - uploads/1755/ReportSample_16906.zip





-------------
Codejock support



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