Lenze VisiWinNet VisiWinNET Smart Benutzerhandbuch

Seite 183

Advertising
background image

Project example

Creating a visualisation

Creating other forms and navigating between them

4

l

183

SHP−VWNS DE/EN 6.1

8. Select the option field Show project formsand, in the selection field, Available

project forms, select the FAlarm form. Close the dialog with OK.

9. Now, change the labelling of the command button by going to the Text property

and entering FAlarm.
Before you test the project: You have now defined a command button by means of
which you can jump from the "FCentral" form to the "FAlarm" form during the runtime.
However, what is still missing is a way of jumping back.

)

Note!

If you do not create a way of jumping back, you cannot exit the runtime
system. The only resort is to exit VisiWinNET

â

Smart by means of the Windows

task manager.

You can now position a command button on the "FAlarm" form, analogously to the
described procedure, whereby this command button enables you to jump back to the
"FCentral" form. However, we would like to show you an alternative.

10. Change to the FAlarm form, select the form and open the Properties window.

11. Under FormBorderStyle, choose the entry FixedDialog.

You have thus assigned the appearance and function of a standard Windows window
to the form on the top right−hand side with the three well−known command buttons
for minimising, scaling and closing windows.

12. Save the form by clicking the menu item File

® Save and then look at the results by

pressing [F5] to start the project.

Advertising