Hi!
I use an overview and a form in a master-detail-view in my BAP application. The form is read-only.
How can I add a “Close” button to close the form and go back to the overview?
Is there a default event for that?
Tobias
Hi!
I use an overview and a form in a master-detail-view in my BAP application. The form is read-only.
How can I add a “Close” button to close the form and go back to the overview?
Is there a default event for that?
Tobias
Hi,
you can define a button in the form footer or subheader via “UI Designer > Edit > Edit Subheader and Footer”.
The button can be modeled to be shown in read-only mode via a checkbox in the button dialog.
You could give the button a label “Close” but internally use the predefined event “event_cancel”.
This event then can be handled in the client to cancel the form activity again.
If you want to have a close button in the header of the Form Engine, you need to customize the Form Engine Content Box. In the Client Sample App, we have an example where a maximize button is in the Form Engine header. You could have a look into the example code for a reference.
Conrad
Perfect!
Works for me now ![]()