Description

This function will remove the style sheet from the window record.

Syntax

success = RTI_Remove_Style_Sheet ( windowID )

Parameters

The function has the following parameters:

ParameterDescription
windowIDA fully qualified repository id for a window

Returns

Messages are displayed for success and failure throughout the execution of the function. The returned value from the function is 0.

Remarks

In versions of OpenInsight prior to version 9.2, the Form Designer allowed for the attachment of a style sheet to a windows record. The style sheet caused errors when running the window.

Note: This function will remove the style sheet from the window record and recompile the window.

Example

* Remove the style sheet from the CUST_ENTRY window in the EXAMPLES application
var = RTI_Remove_Style_Sheet( "EXAMPLES*OIWIN**CUST_ENTRY" )
  • No labels