Skip to content
Notifications
Clear all

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

1 Posts
1 Users
0 Likes
1,580 Views
Avatar
Posts: 25
Moderator
Topic starter
(@drice)
Member
Joined: 3 years 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: