>
INFORMATIONPANEL
NAME: InformationPanel PURPOSE: This widget creates a way of getting general information from a user without having to create a new widget every time. CATEGORY: Information Widget CALLING SEQUENCE: Result = informationPanel(title='Enter number of steps in file',nSteps=10) INPUTS: KEYWORD PARAMETERS: TITLE: A string containing the text to be used as the label for the information panel. The default is a null string. group_leader : Specifying this keyword will create information panel as a blocking widget that will appear centered over the parent. All other keywords will appear as a cw_field type widget. The keyword will be the label, while the value will be the value in the input field. Note that since keywords can only be single words, then the labels may only be single words also. i.e. timeStep = 10 is fine, but time step = 10 is not. OUTPUTS: This function returns an anonymous structure with the values containing whatever values the user entered on the widget. COMMON BLOCKS: None. PROCEDURE: Allows a general way of creating a user input panel. SIDE EFFECTS: None known EXAMPLE: The following creates a panel with a title and three input fields. result = informationPanel(title='example input', time = 1440, $ month='March', year = 1999) result will be an anonymous structure with the field names equal to the keywords, and the values equal to whatever the user entered. MODIFICATION HISTORY: Ronn Kling Ronn Kling Consulting 7038 Westmoreland Dr. Warrenton, VA 20187 ronn@rlkling.com www.rlkling.com copyright 1999, all rights reserved June 1999