
Adjusting Transactions Using GuiXT
The following example is designed to illustrate the range of functions available in GuiXT. A transaction for displaying flight-related data consists of two screens. While the first screen is used for entering the requested airline carrier and the flight number, the second screen displays the corresponding data as you can see below:

Your task is to edit this second screen of the transaction using GuiXT to make sure it looks as follows:

You make the following changes:
Procedure
To adjust the transaction for displaying flight data, we recommend that you use the following procedure:
del [screen element]
to remove fields, field groups, pushbuttons, radio buttons, and checkboxes from the screen. The command
del [Distance] also deletes the associated input field. There is also the possibility to delete fields by specifying the position. For example:del #[5,62]

In the GuiXT window, choose Help
® Script commands to display help on each command. If the help is not displayed, you can download the files from SAPNet (alias GuiXT) or from the Synactive homepage (www.synactive.com).pos [Arrival time] (7,0)
pos T[Table] (11,0)
Since the table is used to check the number of available seats for each flight, you can make the following adjustments:
Move the Occupied column to the second position, and the Capacity column to the third position. To do this, add the following commands to the script:
ColumnOrder [Occupied] 2
ColumnOrder [Capacity] 3
Increase the width of the Date column to make it better readable:
ColumnWidth [Date] 15
Write out in full the FlgtPrice heading:
ColumnHeader [FlgtPrice] "Flight Price"
image (0,35) (8,62) "c:\demo\flight.gif" "-plain"
The "-plain" addition suppresses the 3D border which would normally be displayed around the image.
The image statement can be used very flexibly. If you use the
"Start= " option, for example, you can start a PC application of your choice when the user clicks an image.