Tabbing in LotusScript prompt method does not tab to values

Dim ws As New NotesUIWorkspace	Dim response As String

Dim values(0 To 1) As String



values(0) = "Yes"

values(1) = "No"

response = ws.Prompt (PROMPT_OKCANCELLIST, 	"Test of prompt method", 	"Please answer this question.", values(0), values)

This code displays a prompt with the Yes/No choices in a box. An OK button and a Cancel button are also displayed. The focus starts on the “Yes” value. When I hit TAB, the focus goes to the OK button. Further tabbing switches between the OK and Cancel but never goes back to the Yes/No values.

This is an accessibility issue where someone using a screen reader such as JAWS gets lost. Is this a known problem? Is there a solution?

Subject: RE: Tabbing in LotusScript prompt method does not tab to values

Reported as SPR # AGUD6EMP8V.

If the choices are Yes, No, or Cancel, then I suggest using PROMPT_YESNOCANCEL instead. Otherwise, perhaps you could use Dialogbox to create your own version of this dialog.

  • Andre Guirard
    IBM Lotus Software