Using Pop-Up Message Windows for Important Information

If you use a field or an HTML area to display text that contains important information, such as error messages, use PeopleCode to display the message in a pop-up window when Accessibility Layout option is set to Screen Reader On mode. Screen readers do not typically read display-only field values unless a user specifically commands the screen reader to read the entire page or a particular area of the page.

The following example shows how to create this type of PeopleCode:

If All(&CAL_FINAL_TS) Then
		If GetUserOption("PPTL", "ACCESS") = "A" Then
			MessageBox(%MsgStyle_OK, "", 17000, 407, "");
		End-If;
		&rs0(1).DERIVED_GP.TEXT254.Value = MsgGetText(17000, 407, "");
		&rs0(1),DERIVED_GP.TEXT254.Visible = True;
Else