<head></head><body><pre></font><font color="#ff0000"><i>################################################################################</font></i><font color=black>
</font><font color="#ff0000"><i># LIB: frm_lib1_lib</font></i><font color=black>
</font><font color="#ff0000"><i>################################################################################</font></i><font color=black>
</font><font color="#ff0000"><i># $Revision: 1.3 $</font></i><font color=black>
</font><font color="#ff0000"><i># $Author: drajovic $</font></i><font color=black>
</font><font color="#ff0000"><i># $Date: 2002/12/03 18:48:27 $</font></i><font color=black>
</font><font color="#ff0000"><i># $Source: d:/Archive/CVS_QS/EMOS/EMOS_FRM/WR/FRM/TPL/Scripts/LIB/FRM/frm_lib1_lib/script,v $</font></i><font color=black>
</font><font color="#ff0000"><i># $NoKeywords: $</font></i><font color=black>
</font><font color="#ff0000"><i>################################################################################</font></i><font color=black>

</font><font color="#ff0000"><i>#</font></i><font color=black></font><font color="#ff0000"><i>/**
#* @see &lt;a href="../../../images/FindFlight.jpg"&gt;GUI&lt;/a&gt;
#* @see &lt;a href="../../../images/FindFlight_block.jpg"&gt;Excel&lt;/a&gt;
#*/</font></i><font color=black>

<b>public</b> <b>function</b> FRM_find_flights ( <b>in</b> table, <b>in</b> test, <b>in</b> idx, <b>inout</b> mode )
{
	<b>auto</b> rc;
	rc = FRM_init_block( table, test, idx, mode );
	<b>if</b> ( rc != E_OK )
		<b>return</b> rc;
	rc+=set_window( </font><font color="#00bb00">"Find Flights"</font><font color=black>, 5 );
	rc+=FRM_list_select_item( table, test, </font><font color="#00bb00">"depart"</font><font color=black> );
	rc+=FRM_edit_set( table, test, </font><font color="#00bb00">"departDate"</font><font color=black> );
	rc+=FRM_list_select_item( table, test, </font><font color="#00bb00">"arrive"</font><font color=black> );
	rc+=FRM_edit_set( table, test, </font><font color="#00bb00">"returnDate"</font><font color=black> );
	rc+=FRM_edit_set( table, test, </font><font color="#00bb00">"numPassengers"</font><font color=black> );
	rc+=FRM_button_set( table, test, </font><font color="#00bb00">"roundtrip"</font><font color=black> );
	rc+=FRM_button_set( table, test, </font><font color="#00bb00">"Aisle"</font><font color=black> );
	rc+=FRM_button_set( table, test, </font><font color="#00bb00">"Window"</font><font color=black> );
	rc+=FRM_button_set( table, test, </font><font color="#00bb00">"None"</font><font color=black> );
	rc+=FRM_button_set( table, test, </font><font color="#00bb00">"First"</font><font color=black> );
	rc+=FRM_button_set( table, test, </font><font color="#00bb00">"Business"</font><font color=black> );
	rc+=FRM_button_set( table, test, </font><font color="#00bb00">"Coach"</font><font color=black> );
	rc+=FRM_web_image_click( table, test, </font><font color="#00bb00">"findFlights"</font><font color=black> );
	<b>return</b> rc;
}

</font><font color="#ff0000"><i>#</font></i><font color=black></font><font color="#ff0000"><i>/**
#* @see &lt;a href="../../../images/SearchResults.jpg"&gt;GUI&lt;/a&gt;
#* @see &lt;a href="../../../images/SearchResults_block.jpg"&gt;Excel&lt;/a&gt;
#*/</font></i><font color=black>

<b>public</b> <b>function</b> FRM_search_results ( <b>in</b> table, <b>in</b> test, <b>in</b> idx, <b>inout</b> mode )
{
	<b>auto</b> rc;
	rc = FRM_init_block( table, test, idx, mode );
	<b>if</b> ( rc != E_OK )
		<b>return</b> rc;
	rc+=set_window( </font><font color="#00bb00">"Search Results"</font><font color=black>, 5 );
	rc+=FRM_web_image_click( table, test, </font><font color="#00bb00">"reserveFlights"</font><font color=black> );
	<b>return</b> rc;
}

</font><font color="#ff0000"><i>#</font></i><font color=black></font><font color="#ff0000"><i>/**
#* @see &lt;a href="../../../images/SearchResults_table.jpg"&gt;GUI&lt;/a&gt;
#* @see &lt;a href="../../../images/SearchResults_table_block.jpg"&gt;Excel&lt;/a&gt;
#*/</font></i><font color=black>

<b>public</b> <b>function</b> FRM_search_results_tbl ( <b>in</b> table, <b>in</b> test, <b>in</b> idx, <b>inout</b> mode )
{
	<b>auto</b> rc;
	rc = FRM_init_block( table, test, idx, mode );
	<b>if</b> ( rc != E_OK )
		<b>return</b> rc;
	rc+=set_window( </font><font color="#00bb00">"Search Results"</font><font color=black>, 5 );
	rc+=FRM_TBL_set_data ( table, test, </font><font color="#00bb00">"table"</font><font color=black> );
	<b>return</b> rc;
}

</font><font color="#ff0000"><i>#</font></i><font color=black></font><font color="#ff0000"><i>/**
#* @see &lt;a href="../../../images/SearchResults_table.jpg"&gt;GUI&lt;/a&gt;
#* @see &lt;a href="../../../images/SearchResults_table2_block.jpg"&gt;Excel&lt;/a&gt;
#* @see &lt;a href="../../../images/SearchResults_table3_block.jpg"&gt;Excel2&lt;/a&gt;
#*/</font></i><font color=black>

<b>public</b> <b>function</b> FRM_search_results_tbl2 ( <b>in</b> table, <b>in</b> test, <b>in</b> idx, <b>inout</b> mode )
{
	<b>auto</b> rc;
	rc = FRM_init_block( table, test, idx, mode );
	<b>if</b> ( rc != E_OK )
		<b>return</b> rc;
	rc+=set_window( </font><font color="#00bb00">"Search Results"</font><font color=black>, 5 );
	rc+=FRM_TBL_set_data_block ( table, test, </font><font color="#00bb00">"table"</font><font color=black> );
	<b>return</b> rc;
}

</font><font color="#ff0000"><i>#</font></i><font color=black></font><font color="#ff0000"><i>/**
#* @see &lt;a href="../../../images/MethodOfPayment.jpg"&gt;GUI&lt;/a&gt;
#* @see &lt;a href="../../../images/MethodOfPayment_block.jpg"&gt;Excel&lt;/a&gt;
#*/</font></i><font color=black>

<b>public</b> <b>function</b> FRM_method_of_payment ( <b>in</b> table, <b>in</b> test, <b>in</b> idx, <b>inout</b> mode )
{
	<b>auto</b> rc;
	rc = FRM_init_block( table, test, idx, mode );
	<b>if</b> ( rc != E_OK )
		<b>return</b> rc;
	rc+=set_window( </font><font color="#00bb00">"Method Of Payment"</font><font color=black>, 5 );
	rc+=FRM_edit_set( table, test, </font><font color="#00bb00">"firstName"</font><font color=black> );
	rc+=FRM_edit_set( table, test, </font><font color="#00bb00">"lastName"</font><font color=black> );
	rc+=FRM_edit_set( table, test, </font><font color="#00bb00">"address1"</font><font color=black> );
	rc+=FRM_edit_set( table, test, </font><font color="#00bb00">"address2"</font><font color=black> );
	rc+=FRM_edit_set( table, test, </font><font color="#00bb00">"pass1"</font><font color=black> );
	rc+=FRM_edit_set( table, test, </font><font color="#00bb00">"pass2"</font><font color=black> );
	rc+=FRM_edit_set( table, test, </font><font color="#00bb00">"creditCard"</font><font color=black> );
	rc+=FRM_edit_set( table, test, </font><font color="#00bb00">"expDate"</font><font color=black> );
	rc+=FRM_button_set( table, test, </font><font color="#00bb00">"saveCC"</font><font color=black> );
	rc+=FRM_web_image_click( table, test, </font><font color="#00bb00">"buyFlights"</font><font color=black> );
	<b>return</b> rc;
}

</font><font color="#ff0000"><i>#</font></i><font color=black></font><font color="#ff0000"><i>/**
#* @see &lt;a href="../../../images/FlightConfirmation.jpg"&gt;GUI&lt;/a&gt;
#* @see &lt;a href="../../../images/FlightConfirmation_block.jpg"&gt;Excel&lt;/a&gt;
#*/</font></i><font color=black>

<b>public</b> <b>function</b> FRM_flight_confirmation ( <b>in</b> table, <b>in</b> test, <b>in</b> idx, <b>inout</b> mode )
{
	<b>auto</b> rc;
	rc = FRM_init_block( table, test, idx, mode );
	<b>if</b> ( rc != E_OK )
		<b>return</b> rc;
	rc+=set_window( </font><font color="#00bb00">"Flight Confirmation"</font><font color=black>, 5 );
	rc+=FRM_web_image_click( table, test, </font><font color="#00bb00">"Book Another"</font><font color=black> );
	<b>return</b> rc;
}

</font><font color="#ff0000"><i>#</font></i><font color=black></font><font color="#ff0000"><i>/**
#* @see &lt;a href="../../../images/FlightConfirmation_title.jpg"&gt;GUI&lt;/a&gt;
#* @see &lt;a href="../../../images/FlightConfirmation_title_block.jpg"&gt;Excel&lt;/a&gt;
#*/</font></i><font color=black>

<b>public</b> <b>function</b> FRM_flight_confirmation_tbl_title ( <b>in</b> table, <b>in</b> test, <b>in</b> idx, <b>inout</b> mode )
{
	<b>auto</b> rc;
	rc = FRM_init_block( table, test, idx, mode );
	<b>if</b> ( rc != E_OK )
		<b>return</b> rc;
	rc+=set_window( </font><font color="#00bb00">"Flight Confirmation"</font><font color=black>, 5 );
	rc+=FRM_TBL_set_data ( table, test, </font><font color="#00bb00">"table_title"</font><font color=black> );
	<b>return</b> rc;
}

</font><font color="#ff0000"><i>#</font></i><font color=black></font><font color="#ff0000"><i>/**
#* @see &lt;a href="../../../images/FlightConfirmation_invoice.jpg"&gt;GUI&lt;/a&gt;
#* @see &lt;a href="../../../images/FlightConfirmation_invoice_block.jpg"&gt;Excel&lt;/a&gt;
#*/</font></i><font color=black>

<b>public</b> <b>function</b> FRM_flight_confirmation_tbl_invoice ( <b>in</b> table, <b>in</b> test, <b>in</b> idx, <b>inout</b> mode )
{
	<b>auto</b> rc;
	rc = FRM_init_block( table, test, idx, mode );
	<b>if</b> ( rc != E_OK )
		<b>return</b> rc;
	rc+=set_window( </font><font color="#00bb00">"Flight Confirmation"</font><font color=black>, 5 );
	rc+=FRM_TBL_set_data ( table, test, </font><font color="#00bb00">"table_invoice"</font><font color=black> );
	<b>return</b> rc;
}

</font><font color="#ff0000"><i>#</font></i><font color=black></font><font color="#ff0000"><i>/**
#* @see &lt;a href="../../../images/FlightConfirmation_passengers.jpg"&gt;GUI&lt;/a&gt;
#* @see &lt;a href="../../../images/FlightConfirmation_passengers_block.jpg"&gt;Excel&lt;/a&gt;
#*/</font></i><font color=black>

<b>public</b> <b>function</b> FRM_flight_confirmation_tbl_passengers ( <b>in</b> table, <b>in</b> test, <b>in</b> idx, <b>inout</b> mode )
{
	<b>auto</b> rc;
	rc = FRM_init_block( table, test, idx, mode );
	<b>if</b> ( rc != E_OK )
		<b>return</b> rc;
	rc+=set_window( </font><font color="#00bb00">"Flight Confirmation"</font><font color=black>, 5 );
	rc+=FRM_TBL_set_data ( table, test, </font><font color="#00bb00">"table_passengers"</font><font color=black> );
	<b>return</b> rc;
}

</pre></body>