Breadcrumbs (Bootstrap): Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
Line 11: Line 11:
{| class="wikitable"
{| class="wikitable"
|-
|-
| appearance || Appearance of the alert. Can be success, info, warning, danger.
| length || The number of items in the Breadcrumb's list.
|-
|-
| badge || Adds a Badge to the alert.
| setValue(array) || Overrides the list created by ChangeForm. Elements need to be form names.
|-
| dismissable || Add an x to dismiss the alert?
|-
| value || The title of the button. Design time or runtime.
|}
|}



Revision as of 20:54, 31 May 2016

Description

Indicate the current page's location within a navigational hierarchy.

When you navigate through pages using the ChangeForm function, they automatically get added to the Breadcrumb. You can display it at the top of your screen. This gives the user an easy way to tell where they are in complex, multi level apps, as well as an easy way to navigate back through your app.

Properties and Methods

Standard properties are supported, plus:

length The number of items in the Breadcrumb's list.
setValue(array) Overrides the list created by ChangeForm. Elements need to be form names.

Events

Standard events are supported. For this control, the onclick event will be most useful.

Example (Basic)

Function Alert2_onclick()

 MsgBox "You can display a message or take other action when clicked"

End Function

Example (JavaScript)

Alert1.onclick = function() {

   NSB.MsgBox("You can display a message or take other action when clicked");

};

Output