Uploaded image for project: 'Bug Archive'
  1. Bug Archive
  2. BUGARCHIVE-3

setformfocus fails from service

    XMLWordPrintable

    Details

    • Type: Maintenance
    • Status: Under Review (View Workflow)
    • Resolution: Unresolved
    • Labels:
      None
    • Old bug number:
      29755

      Description

      When using the statement 'setformfocus' in a service uniface responds as though
      this happens from a modal form.
      The statement fails, and sets $status to -2, $procerror to -405, both
      indicating:
      'A modal form has focus; setformfocus cannot be used to change the focus.'

      In the documentation it is explicitly specified that it is possible to use
      setformfocus in a service, provided it is not self-contained.

        Attachments