Create a button that closes the application

Create a button that closes the
FactoryTalk Optix Application
application.
  1. In the
    Project view
    pane, right-click
    MainWindow (type)
    and select
    New
    Base controls
    Button
    .
  2. Hover-over the button, select
    Edit
    , and enter
    CloseApplicationButton
    .
  3. In the
    Properties
    pane, set the
    Text
    property value to
    Close application
    .
  4. In the
    Events
    pane, next to
    MouseClick event
    , select
    Add
    and select
    Commands
    Core commands
    Close
    .
Fornire un feedback
Hai domande o feedback su questa documentazione? invia il tuo feedback qui.