Viewing 1 post (of 1 total)
  • Author
  • #31223

    Standard ClinicOffice behaviour is that the START TIME of an appointment is given input focus by default when the Appointment Editor window is invoked. This script allows you to change this behaviour so that the PATIENT field is given focus instead.

    [1] Click TOOLS | SCRIPT EDITOR to show the Script Editor screen
    [2] Locate “frmEditorApp” and the “OnAfterEditorOnScreen” event
    [3] Copy & Paste the following script into the Script Editor :-

    frmEditorApp frm = (Params[0] as frmEditorApp);
    System.Reflection.FieldInfo fi = frm.GetType().GetField("edPatient", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance);
    if (fi != null)
    Control c = fi.GetValue(frm) as Control;
    if (c != null)

    [4] Click OK

    To test this out, either create a new appointment or open an existing one, and you should notice that the PATIENT field will be given focus (rather than the START TIME field).

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.