Create a new category from a "category dialog box"

Started by benoitf, June 28, 2018, 03:06:36 AM

Previous topic - Next topic

benoitf

Hello!

I am using the "IMatch.categoryBrowser" service in my scripts: it shows my category tree and lets me choose a category.
Is there an equivalent service for creating a new category from a similar "category dialog box" (a dialog that lists the category tree and lets the user create categories)? I searched through the help but wasn't successful.

I remember using such an API in IMatch 3.5.

Thank you!
Benoit

Mario

There is no such dialog in IMatch and hence none is available for apps.

But it's easy to implement a category browser in your app and let your user create categories from there.
For example, allow him to enter a category name. Search for categories matching and display them as links. The user can click on one and then an input text field is displayed where he can enter the name of the category to create...

Or, let the user choose the parent category in the category browser and then let him input the name(s) of the categories to create under it in an input field.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

benoitf