add category to Text Editor's function list

Stimulsoft Reports.NET discussion
Post Reply
Roland.K
Posts: 12
Joined: Wed Oct 01, 2008 4:39 am

add category to Text Editor's function list

Post by Roland.K »

As posted here we have some methods within our code, that can be used by someone creating a report to get runtime data from our application.

Currently to be able to use those functions, the user must read our documentation to know what is available and how to use it, but it would be much more convenient to be able to have them within a new subcategory within the report editor's function list (see attmnt)
Is there any possibility to add a new category with new items there?
Attachments
STIEditorFunctions.PNG
STIEditorFunctions.PNG (45.97 KiB) Viewed 1584 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: add category to Text Editor's function list

Post by Alex K. »

Hello,

You can use the following method for adding your custom function in the dictionary:

Code: Select all

Stimulsoft.Report.Dictionary.StiFunctions.AddFunction()
Thank you.
Roland.K
Posts: 12
Joined: Wed Oct 01, 2008 4:39 am

Re: add category to Text Editor's function list

Post by Roland.K »

Hi Aleksey,

thank you very much, works great. I love STI so much! ;)
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Re: add category to Text Editor's function list

Post by Andrew »

Thank you for the reply, Roland.

Have a nice day!
Post Reply