trichview.support
CTRL+I is not Tab |
Author |
Message |
Ronny |
Posted: 04/07/2005 15:55:41 Hello, I'm updating an application at a customer that is using a TRichViewEdit (they're using the RichView components version 1.7.10 using Delphi5). I've to add shortcuts that can be used when editing text: CTRL+B for bold, CTRL+I for italic... The last one is giving me problems: apparantly CTRL+I is already in use for inserting tabs (seems to do the same as CTRL+TAB). How can I put the default action on CTRL+I off? My code reacts on the KeyDown event: - I check the shift parameter: if shift+[ssCtrl] - and if also the correct key (e.g. 'i') is pressed I change the current style As I said: goes fine for bold, underline, ... But not for Italic... Any ideas? Thanks, Ronny |
Powered by ABC Amber Outlook Express Converter