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.
How to avoid CTRL-I acting as TAB?
-
- Site Admin
- Posts: 17559
- Joined: Sat Aug 27, 2005 10:28 am
- Contact: