Modification To InsSymbolRVForm

General TRichView support forum. Please post your questions here
Post Reply
DickBryant
Posts: 148
Joined: Wed Dec 07, 2005 2:02 pm
Contact:

Modification To InsSymbolRVForm

Post by DickBryant »

Hi Sergey,

BTW, I've upgraded to the latest version of TRichview and TRVActions as you suggested earlier. I'm working through some of the changes that I'd previously made to the source to get 'back to where I was' :-) In so doing the following enhancement came to mind:

For my purposes (and possibly others) it would be preferable if the form appeared set to the font of the editor that had the focus when the Insert Symbol button is clicked.

I've found the

procedure TfrmRVInsertSymbol.FormCreate(Sender: TObject); line where this is set:

Init(183, 'Symbol', SYMBOL_CHARSET);

What would I need to do to get the FontName where the caret is currently in the calling rve so I could do

Init(183, FontName, DEFAULT_CHARSET);
Post Reply