Static text popup messages are used to display additional information to the user. These popup messages can be used to define acronyms, illustrate syntax for a field, or convey general help information. Popup messages can be created on forms or pages. Lets say, for example, that you have a Notes database that includes a number of forms, and each form includes an instructional paragraph for using that particular form. To help the user understand the instructions, you may want to add popup text for acronyms referenced in the paragraph.
The static popup could also be utilized to create field-level help messages. This could be achieved by adding a "?" character next to each field and setting it to display a help message specific to the field. This approach would enable additional or custom information to be presented to the user for each field on the form. Figure 17.4 illustrates a sample popup message.
The popup message can be configured to display "on mouse over" or "on click". When set to "on mouse over", the popup text displays as soon as the mouse passes over the area. Alternatively, the text message could be configured to display only when the user clicks and holds the mouse button on the context-sensitive area on the form. Using this second setting, the popup text closes as soon as the mouse button is released.
The following illustrates how to create a static popup that contains help information for a particular field. To implement this solution, complete the following steps.
Create a form.
Add text characters to the form (such as "?" or "Help") to apply the text message to. For example, type a question mark next to a field.
Highlight the text string and select the Create > Hotspot > Text popup menu option. This will create the static popup region on the form and display the properties dialog. Type a message to display in the popup message (see Figure 17.5). Optionally, adjust the Show popup and Hotspot style properties.
Figure 17.5. Setting the popup text message in the properties dialog
An Introduction to the Lotus Domino Tool Suite
Getting Started with Designer
Navigating the Domino Designer Workspace
Domino Design Elements
An Introduction to Formula Language
An Introduction to LotusScript
Fundamentals of a Notes Application
Reference Library Applications
Design Enhancements Using LotusScript
Design Enhancements Using Formula Language
Miscellaneous Enhancements and Tips for Domino Databases
Application Deployment and Maintenance
Appendix A. Online Project Files and Sample Applications
Appendix B. IBM® Lotus® Notes® and Domino®Whats Next?
Lotus Notes Developers Toolbox: Tips for Rapid and Successful Deployment
Authors: Mark Elliott
Similar book on Amazon
XPages Portable Command Guide: A Compact Resource to XPages Application Development and the XSP Language