Highlighting a field which gets focus

Author: lalitpct@gmail.com (lalitpct)

Hi I want to highlight a field which gets focus ,as shown below ..

http://imageshack.us/photo/my-images/845/capturemn.jpg/

 

How it can be done

2 Comments

  1. Hello lalitpct,

    if you want to highligh an active field, look at the .asn settings $ACTIVE_FIELD - you can "Set the video attributes for the active field.".

    But if you want the text of a field to be auto-selected (as shown on you screen-shot), just set the "Auto select" property of the particular editbox. We have set this in our .ini file, so this is set for all editoxes in our application. You can set default properties in [widgets] section in your .ini file as you wish, for example:

    EditBox=ueditbox(font=editfont;autoselect=on;dimmedbackcolor=off;dblclk=detail)

    Zdenek


    Author: sochaz (zdenek.socha@fullsys.cz)
  2. Example: Framing the Field With Focus

    The following example puts a frame around the radio group GENDER in the current occurrence when that field has focus. If more than one occurrence of the entity is drawn, only the field in the current occurrences has a frame around it. The frame is turned on in the Field Gets Focus trigger and turned off in the Leave Field trigger.

    ; trigger: Field Gets Focus
    $fieldproperties(GENDER) = "Frame=T"
    
    
    ; trigger: Leave Field
    $fieldproperties(GENDER) = "Frame=F"
    

    Author: ulrich-merkel (ulrichmerkel@web.de)