Uploaded image for project: 'Reported Issues'
  1. Reported Issues
  2. RI-14

editDelay property should be configurable, i.e a value, not just on|off

    XMLWordPrintable

    Details

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

      +Uniface:
      * 9.6 and higher

      +Operating System:
      * All Windows versions

      +Database:
      * DBMS independent


      Show
      +Uniface: * 9.6 and higher +Operating System: * All Windows versions +Database: * DBMS independent

      Description

      Summary:
      Uniface: editDelay property should be configurable, i.e a value, not just on|off

      Symptoms:
      To use the onEdit trigger, you can give an editbox the property

      OnEdit=True

      You can also specify whether or not a short delay should occur before
      the trigger fores:

      EditDelay=True|False

      However the delay value is hardcoded to 200 ms. While this seems to be
      adequate in many situations it might not be in some. If you are a slow typist
      it might mean that the trigger fires on EVERY keystroke, which may be
      disruptive if the trigger has some real work to do like doing a substantial
      database query.

      It is therefore necessary that you can specify the actual value of the
      delay, e.g.

      EditDelay=1000

      to get 1 second instead of 200ms.

        Attachments