User Tools

Site Tools


resize_set_variable_height_text_control_.htm
Navigation:  Language Reference > 9 -  Window and Report Attributes > Window and Report Attributes >====== RESIZE (set variable height TEXT control) ====== Previous pageReturn to chapter overviewNext page

RESIZE

blk2blue.jpg

The RESIZE attribute (PROP:RESIZE) specifies height of the TEXT control varies according to the amount of data to print in it, up to the maximum height specified by the control's AT attribute.

The height parameter in the AT attribute of the DETAIL, HEADER, or FOOTER strcuture containing the TEXT control must not be set (let it default) for the RESIZE attribute to have any effect.

Example:

CustRpt REPORT,AT(1000,1000,6500,9000),THOUS

Detail   DETAIL,AT(0,0,6500,)                              !Detail height defaults

         STRING(@N$11.2),AT(500,500,500,),USE(Pre:F1)

         TEXT,AT(500,1000,500,5000),USE(Pre:Memo1),RESIZE !Print height up to 5“

        END

       END

resize_set_variable_height_text_control_.htm.txt · Last modified: 2021/04/15 15:57 (external edit)