Navigation: ABC Library Reference > ReportManager Class > ReportManager Methods >====== SetStaticControlsAttributes (set report's static controls) ====== | |
SetStaticControlsAttributes, VIRTUAL
The SetStaticControlsAttributes method is a virtual method used to set any static attribute property on a report's controls prior to opening the report. The control must have the EXTEND attribute applied. This method is used to set attributes that will be recognized by the WMFParser to generate a particular output format.
Member of: ReportManager
Implementation:
The SetStaticControlsAttributes method is a vrtual method called by the ReportManager's Open method.
Example:
ReportManager.Open PROCEDURE
CODE
PARENT.Open
IF ~SELF.DeferOpenReport
SELF.OpenReport
IF NOT SELF.OpenFailed THEN
IF SELF.Report{PROPPRINT:Extend}=1 THEN
SELF.SetStaticControlsAttributes()
END
END
END