Insert Symbol Question - Revisited
Posted: Sun Nov 23, 2008 3:05 pm
Hi Sergey,
I asked this one back in February, but it was never answered. Could you give it a try?
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);
_________________
Dick Bryant
Open Window Software
I asked this one back in February, but it was never answered. Could you give it a try?
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);
_________________
Dick Bryant
Open Window Software