Notifications
Clear all

[Solved] Example showing how to add new item to index from a button


Posts: 14
Moderator
Topic starter
Member
Joined: 5 months ago

This example shows how you can use a button (as part of your model's user interface) to add a new element to an index.

In this case, the user types a new project name and hits the + button to add the new project. 

The + button is a normal button, + is its title. In node style, its font is set large (38pt) with border & fill turned off. Using color palette, its font was set to blue.  The code that adds the project to the index is in the button's OnClick.

The user input, "Enter a new project name", is set to text-only.

Share:
Scroll to Top