This application claims priority to the European Application No. 05002710.1, filed Feb. 9, 2005 which is incorporated by reference herein in its entirety.
The invention relates to a method, a computer program product and a system for providing user information on a screen for input fields which may be edited by a user.
The invention is used, for example, within software programs where input fields have to be edited by a user and the user requires additional information for correctly completing the fields.
In complex development environments, in particular, specific parameters frequently have to be allocated values via corresponding input fields. For users who use such a development environment only rarely, or merely for the first time, a help function is possibly necessary which provides information to the user about the meaning and purpose of a parameter or its valid value range.
Current software applications therefore generally offer a help system. If required, the user quits the input mask, searches for the required information in the help system and then returns again to the input mask. With faulty input by the user, a dialogue box is generally opened which reports the error and has to be closed by the user, for example, by a mouse click.
An object of the invention is to make user information for editable input fields rapidly and easily accessible for a user within a computer program.
This object is achieved by a method for providing user information on a screen for input fields which may be edited by a user within a computer program, with the following method steps:
recognition of a cursor positioned within an input field and
automatic display of a display window with the user information, immediately after recognition of the cursor positioned within the input field.
This object is further achieved by a computer program product for implementing such a method.
This object is further achieved by a system for providing user information with
a screen for showing input fields which may be edited by a user within a computer program and
a processing unit for recognising a cursor positioned within an input field and for generating a display window with the user information, immediately after recognising the cursor positioned within the input field,
the screen being provided for displaying the display window.
The invention is based on the recognition that, in particular with complex applications, information about an input field should be immediately available for the user when editing. According to the invention, this is ensured by the display window containing this information being opened as soon as the cursor is positioned in the input field. In this case and in the entire text above, any type of input pointer which is standard in the software field is understood by the term cursor. The position of the cursor within the input field clearly signals a desire by the user to assign the input field in any manner. If assistance is required therefor, the user does not have to quit the input mask first in order to start a help function, search for the appropriate information there and then return again to the input mask. Instead, the required information is already directly available in the user interface to be edited by the user, so that the work flow is not interrupted by obtaining the required information.
The disclosed method for providing the information can be used, in particular, in many complex computer applications, where the input field is provided for assigning a parameter with a value and the user is informed by mea ns of the user information about a purpose and/or valid value range of the parameter. For example, when assigning a parameter of a technical system, it is often unclear to a user who is using for the first time, or only seldom uses, the corresponding program, how much influence this parameter has on the technical system and which values are permissible for the parameter. In this embodiment, this information is provided to the user as soon as the desire of the user to assign the value is recognised.
It is often difficult to show all the information which is required for an input field within the display window. In these cases, it is expedient if a hyperlink, which makes further user information accessible to the user, is shown in the display window. Such a hyperlink can refer to documents which are located outside the user interface.
Depending on the complexity of the input field to be assigned, the text which is necessary to show the required user information, can require a very large display window. There is therefore the risk that the display window conceals other input fields within the user interface. Thus it is expedient that the display window is shown independently, when a mouse pointer which may be controlled by the user is positioned within the input field or within an activation region in the display window, in which a function provided by the display window, in particular the hyperlink, may be activated by means of the mouse pointer. However, the display window should be represented as semi-transparent when the mouse pointer is positioned outside the input field and outside the activation region. As long as the mouse pointer is located within the input field, it may be assumed that the user is exclusively occupied with editing the input field. As a result, the user requires no information which is possibly concealed by the display window. As soon as the user moves the mouse pointer into a region outside the input field, the display window is represented as semi-transparent, so that information which is located under the display window is visible to the user. Here, the disclosed semi-transparency of the display window does not only relate to the mode of representation. Furthermore, control buttons which are located underneath the display window, may also be activated by the mouse pointer.
An exception to this is merely where an activation region, for example a control button or a hyperlink, is located within the display window, and to which the user has access with the mouse pointer. In such a case, the display window is represented as opaque as soon as the user moves the mouse pointer into such an activation region. By means of the opaque representation of the display window, it is signalled to the user that it is now possible to activate a function of the display window with the mouse.
In a particularly advantageous embodiment of the invention, during or after faulty editing of the input field, a further display window is displayed which sends an error message. Thus the user is informed at an early stage about an input error. In this connection it is particularly expedient to constrain the cursor to remain in the input field, after the faulty editing of the input field, to correct the faulty editing. As a result, the user is made immediately aware of the faulty input and can only start editing the further input field after having assigned a correct value to the input field.
An advantageous application of the method is characterised in that the computer program is embodied as a development environment, in particular for control tasks in automation technology. During such control tasks, parameters of a technical system frequently have to be assigned with values, a great deal of user knowledge being assumed. In many instances, only a limited permissible value range exists for the corresponding physical parameters. By means of the disclosed method, the user of such a program is informed at an early stage about possible input errors, about a permissible value range of the parameter and about the purpose and the consequences of the physical parameters to be set.
The invention is disclosed and described hereinafter in more detail with reference to the embodiments shown in the figures, in which:
In the method disclosed, information is provided to the user via the display window 1 about the parameter 4 to be assigned by the user, without the user having to quit the input mask. Thus the workflow of the user is not interrupted by having to call up a help function, within which information is obtained about the parameter 4 to be assigned.
When the user moves the mouse pointer 8 into a region outside the input field 2, the display window 1 is represented as semi-transparent. In this manner, input fields which are located underneath the display window 1 are visible to the user and can also be accessed by the mouse pointer 8. Thus the user could now, as shown in the middle of
A hyperlink 7, which can be activated by the mouse pointer 8, is located within the display window 1, in order to make information accessible to the user. As soon as the user moves the mouse pointer 8 onto the hyperlink 7, the display window 1 is again represented as opaque. The opaque representation of the display window, signals to the user that the hyperlink 7 can be activated by means of the mouse pointer 8, in particular by activating the left mouse button.
The disclosed embodiment of the method allows the user to use the mouse pointer in a quasi-three-dimensional manner. By means of the context-dependent representation of the display window, the user is able both to activate control buttons within the display window 1 and to operate control buttons underneath the display window 1. By means of the semi-transparent representation of the display window 1 the user can see input fields underneath the display window 1 and also assign said input fields with values without firstly having to push the display window 1 awkwardly to one side with the mouse pointer 8.
A computer program product, with which a real time control program can be generated, is installed on the processing unit 12 and which can, for example, be a PC. When creating the control program, a user assigns values to physical parameters via corresponding input fields 2. User information is provided to the user about the parameters to be assigned via a display window 1 in the manner already disclosed. After the user has created and tested the control program on the system 10, the program is loaded onto the automation device 13.
Number | Date | Country | Kind |
---|---|---|---|
05002710.1 | Feb 2005 | EP | regional |