User Tools

Site Tools


prop_lineheight.htm
Navigation:  Language Reference > App C - PROP: Runtime Properties > Complete Property List >====== PROP:LineHeight ====== Previous pageReturn to chapter overviewNext page

Sets or returns the height of the rows in a LIST or COMBO control. The height is measured in dialog units (unless PROP:Pixels is active). For a TEXT control, it returns the character cell height of the control's font (the distance from the top of one line of text to the top of the next) in whatever measurement unit is currently in use. READ-ONLY for a TEXT control.

Example:

MDIChild WINDOW('Child One'),AT(0,0,320,200),MDI,MAX,HVSCROLL

         LIST,AT(0,0,220,220),USE(?L1),FROM(Que),IMM

        END

CODE

OPEN(MDIChild)

?L1{PROP:LineHeight} = 8       !Set height to 8 dialog units

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