Focused Input Field Style

Visual LANSA Framework

Focused Input Field Style

This property allows Framework designers to specify the style of input fields on web applications when they get focus. In this way the field that is receiving input can be highlighted for the user.

The value specified here is passed as cssText to the style property of the HTML element representing the field on the Web page. As such it must be validly formatted as a style string that would be used in JavaScript or on an HTML page or unexpected results may occur. However if the style string, or some part of it, is not properly formed it will normally be ignored.

Valid examples of style strings, and therefore this property, are:

background-color:azure;border:4px double red

background-color:#FDF5E6;border:3px ridge #C0C0C0

color:rgb(255,0,0);border:3px inset rgb(200,200,200)

  

NOTE: To avoid this property replacing an input field's existing style use a prefix of 'APPEND=' for the property.

To make the previous examples add to existing styles use:

APPEND=background-color:azure;border:4px double red

APPEND=background-color:#FDF5E6;border:3px ridge #C0C0C0

APPEND=color:rgb(255,0,0);border:3px inset rgb(200,200,200)

  

Refer to the Microsoft JavaScript documentation for more details about valid input strings to the Style property.

 

This property is in the Web/RAMP Details tab.