2 state of button

Is it possible to make at form button with 2 state.

When just open the form displays the name of the button "View All" after press on it button displays the name of the button "View Active" and when press again name back to "View All" and so on...

Parents
  • For now i make just close solution (not in ONE button).

    2 BUTTONS:

    first with name: "View ALL"

    second with name: "View Active"

    They both on same place, but displayed only one of them at same time.

    Display condition for First one: [$ViewAll]<>"true"

    And display condition for the second one: [$ViewAll]="true".

    Also there is some "button ID", that let me set expressions in DO for this form to change value of $ViewAll variable.

    Pre RAD expressions

    if ($ViewAll=false or $ViewAll=NULL) then ($ViewAll=true) else ($ViewAll=false)
Reply
  • For now i make just close solution (not in ONE button).

    2 BUTTONS:

    first with name: "View ALL"

    second with name: "View Active"

    They both on same place, but displayed only one of them at same time.

    Display condition for First one: [$ViewAll]<>"true"

    And display condition for the second one: [$ViewAll]="true".

    Also there is some "button ID", that let me set expressions in DO for this form to change value of $ViewAll variable.

    Pre RAD expressions

    if ($ViewAll=false or $ViewAll=NULL) then ($ViewAll=true) else ($ViewAll=false)
Children