On Mon, Jan 28, 2013 at 11:00 PM, Mattias Gaertner <[email protected]> wrote: > On Mon, 28 Jan 2013 22:55:10 +0200 > ik <[email protected]> wrote: > >> On Mon, Jan 28, 2013 at 10:30 PM, Maxim Ganetsky <[email protected]> wrote: >> > 28.01.2013 19:46, ik пишет: >> > >> >> Hello, >> >> >> >> How can If find what is the package that the file >> >> lazarusidestrconsts.pas belongs to ? >> >> I need to use some of it's text with my plugins. Strings such as >> >> srkmCatSrcNoteBook. >> > >> > >> > It is category name. Why do you need to reuse it? >> >> My plugins add itself to the editor tab menu, and I wanted to use the >> same category for shortcuts, because it belongs there imho... > > The srkmCatSrcNoteBook is the caption. > To find the shortcut you need the name of the category. > The name is 'SourceNotebook'. > > CmdCat:=IDECommandList.FindCategoryByName('SourceNotebook');
Thanks Mattias > > > Mattias > > -- > _______________________________________________ > Lazarus mailing list > [email protected] > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
