Skip to content
Notifications
Clear all

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

1 Posts
1 Users
0 Reactions
2,189 Views
Posts: 26
Moderator
Topic starter
(@drice)
Member
Joined: 4 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:

Download Free Analytica


    We hate spam as much as you. We won't share your email with third parties.
    The free edition of Analytica includes these key Analytica features:
    Free Analytica has no time limit. The only constraint is it won’t let you create more than 100 variables or other objects. But your model can be quite substantial since each variable can be a multidimensional array. It also lets you explore, change inputs, and run existing models of any size (excluding features unique to the Enterprise or Optimizer editions).

    Download the free edition of Analytica

    The free edition of Analytica includes these key Analytica features: 

    Free Analytica has no time limit. The only constraint is it won’t let you create more than 100 variables or other objects. But your model can be quite substantial since each variable can be a multidimensional array.  It also lets you explore, change inputs, and run existing models of any size (excluding features unique to the Enterprise or Optimizer editions).

    Analytica runs on any Windows computer, or on a Macintosh using Parallels or VMWare.


      Analytica Cubes Pattern