/*------------------------------------------------------------------------
File: textprompt.w
Description: Simple text prompting dialog
RETURNS: "cancel" if cancel button pressed
Input Parameters:
Character: Descriptive text, displayed in edit widget
Input-Output Parameters:
Character: Input default value, output user entered text
Author: John Green, Joanju Limited
Created: 2001
------------------------------------------------------------------------*/
Parameters:
INPUT Pdescription AS CHARACTER
INPUT Pdescription2 AS CHARACTER
INPUT-OUTPUT Pvalue AS CHARACTER
INPUT-OUTPUT Pvalue2 AS CHARACTER
CURRENT-WINDOW-layouts
INPUT layout AS CHARACTER
disable_UI
/*------------------------------------------------------------------------------
Purpose: DISABLE the User Interface
Parameters: <none>
Notes: Here we clean-up the user-interface by deleting
dynamic widgets we have created and/or hide
frames. This procedure is usually called when
we are ready to "clean-up" after running.
------------------------------------------------------------------------------*/
enable_UI
/*------------------------------------------------------------------------------
Purpose: ENABLE the User Interface
Parameters: <none>
Notes: Here we display/view/enable the widgets in the
user-interface. In addition, OPEN all queries
associated with each FRAME and BROWSE.
These statements here are based on the "Other
Settings" section of the widget Property Sheets.
------------------------------------------------------------------------------*/
Top
|