Navigation:  Tutorials > Creating a GUI Application > Drawing a View for PersonalAccountShell >

Adding Command Push Buttons

Previous pageReturn to chapter overviewNext page

In order to send commands to the presenter we can add some push buttons to our view. Look for PushButton.Push button in the toolbox in the Buttons category and drag four buttons across.

Change the properties of these buttons as tabulated below.

Be aware when editing the command property that you'll first need to expand the commandDescription property to get to it. Then, in the lower pane, you'll be editing in a workspace. This means that you need to commit the changes using Workspace/Accept or Ctrl+S.
The text property is easier; you just type, and the text appears immediately in the button.

"command"property

"text" aspect

#newTransaction

&New

#editTransaction

&Edit

#removeTransaction

&Delete

#exit

E&xit