home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1998 April B
/
Pcwk4b98.iso
/
Borland
/
Dbase50w
/
SAMPLES2.PAK
/
EQUIPMNT.MNU
< prev
next >
Wrap
Text File
|
1994-08-02
|
2KB
|
69 lines
******************************************************************************
* PROGRAM: Equipmnt.mnu
*
* WRITTEN BY: Borland Samples Group
*
* DATE: 12/93
*
* UPDATED: 7/94
*
* REVISION: $Revision: 1.17 $
*
* VERSION: dBASE FOR WINDOWS 5.0
*
* DESCRIPTION: This is a menu file used by Equipmnt.wfm. This
* Menu will allow you to make a flight selection of different
* flights of the AirBorland airlines.
*
* PARAMETERS: F -- the form to which this menu will belong.
*
* CALLS: None
*
* USAGE: form.menuFile = "Equipmnt.mnu"
*
*******************************************************************************
** END HEADER -- do not remove this line*
* Generated on 05/06/94
*
Parameter FormObj
NEW EQUIPMNTMENU(FormObj,"Root")
CLASS EQUIPMNTMENU(FormObj,Name) OF MENU(FormObj,Name)
this.Text = ""
DEFINE MENU FILE OF THIS;
PROPERTY;
Text "&File"
DEFINE MENU EXIT OF THIS.FILE;
PROPERTY;
OnClick {;form.Release()},;
Text "E&xit",;
Shortcut "CTRL-Q"
DEFINE MENU EQUIPMENT OF THIS;
PROPERTY;
Text "&Equipment"
DEFINE MENU SELECT_FLIGHTS OF THIS.EQUIPMENT;
PROPERTY;
OnClick CLASS::GETFLIGHTS,;
Text "&Select Flights",;
Shortcut "CTRL-S"
procedure GetFlights
* Open modally the form that allows selection of different flights.
* Update main form (equipmnt.wfm) depending on selections made.
*******************************************************************************
local getFltsForm,selected
set procedure to GetFlts.wfm additive
getFltsForm = new GetFltsForm()
getFltsForm.mdi = .f.
getFltsForm.Readmodal()
getFltsForm.Release()
show object form.flightsBrowse
show object form.planeEntry
ENDCLASS