How to avoid CTRL-I acting as TAB?
Posted: Fri Jul 07, 2006 6:51 pm
How to avoid CTRL-I acting as TAB? The situation is: I put an 'OnKeyDown' event in a TRichViewEdit in order to intercept CTRL-I key and call 'ApplyStyleConversion' to put the italic efect. Its ok, but the cursor advances as if the TAB key where pressed. I donĀ“t want this behavior. I tried set the 'Key' parameter of 'OnKeyDown' event to '0' after calling 'ApplyStyleConversion' but to no avail: the cursor still advances. Is there some simple solution to this or should I appeal to hooks?
Thanks.
Joao.
Thanks.
Joao.