NAB plug-in for MWT user guide June 21, 2006
Contents PreviousNext

Chapter 2 Creating a Simple Application, Hello

2.5 Allocating an Instance to an Application Window

A component such as a button in the application window is referred to as an instance.

 

This section explains the procedure for allocating the [push!] button as an instance to the Hello application window.

  Procedure

  1. Select the [BTN] icon (WSCvbtn/push button class) in the [Commands] section of the [NAB/MWT Object Box] view, and allocate the button instance to the application window in the [NAB/MWT Editor] view.

    Figure: Allocating the [BTN] icon

  2. You can modify the allocated button instance in the [NAB/MWT Properties] view.

    Confirm that the instance is selected in the [NAB/MWT Editor] view, and specify the following values in the [NAB/MWT Properties] view.

    Property name

    Setting value

    Name

    newvbtn_000

    X coordinate

    10

    Y coordinate

    10

    Width

    200

    Length

    30

    Character string to be displayed

    push!

  3. The created button is displayed as shown below.

    Figure: Window displayed after settings are made in the [NAB/MWT Properties] view


Contents PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2005-2006