Quick Start - Add buttons to switch between GDWs

<< Click to Display Table of Contents >>

Navigation:  Quick Start Guide >

Quick Start - Add buttons to switch between GDWs

Previous pageReturn to chapter overviewNext page

 

To put a button on the GDW click the Draw Buttons tool TB_BUTN.

Draw the button by clicking and dragging the mouse until the button is the size and shape you require but-clse.

Position the button using the mouse or cursor keys as described previously.

 

Double-click the button to display the Button Attributes box:

 

butnattr

 

Change the text in the Caption box to say, for example, 'Return to first screen'.

 

Then from the Action list, select GDW: Swap to another GDW, then select the name from the Swap To list that you gave to the first GDW:

 

swapto

 

Click OK to close the Button Attributes box, then click the Save tool TB_SAVE to save this new GDW again.

 

Open the first GDW by either

clicking the Open GDW tool TB_OPEN and then selecting the name of the GDW from the list and clicking OK, or by selecting the name of the GDW from the Window menu.

 

Click the Draw Buttons tool TB_BUTN and draw a button on this GDW as before, double-click this button and change its attributes.

Change the Caption to say, for example, 'Go to second screen'.

From the Action list, select GDW Control: Swap to another GDW, then select from the Swap To list the name that you gave to the second GDW, click OK.

Click the Save tool TB_SAVE to save again.

 

For the next step read: Add a Bar chart