Share via


How to: Add a Button to a Mobile Client for LightSwitch

When you develop an HTML mobile client for your LightSwitch app, you can add code that runs when the user taps a button on a screen in that client. For example, you might add code that launches a different screen or performs a calculation.

To add a custom button to a screen

  1. In the Screen Content Tree, choose the node where you want the button to appear.

  2. On the Screen Designer toolbar, choose the Add Layout Item drop-down list, and then choose Button.

    The Add Button dialog box appears.

See Also

Other Resources

HTML Client Screens for LightSwitch Apps