Applies to
Edit table.
Description
Defines the font to use for the cell that currently has focus within the edit table.
Usage
gFocusCellFont = Get_Property (editTable,"FOCUSCELLFONT")
sFocusCellFont = Set_Property (editTable,"FOCUSCELLFONT", fontStruct)
Remarks
Values passed in Set_Property():
Value | Description |
---|---|
fontStruct | The standard OpenInsight font structure. Refer to the FONT property for details. |
Returns
Values returned by Get_Property and Set_Property
Value | Description |
---|---|
gFocusCellFont | Returns the current font of the cell with focus. |
sFocusCellFont | Returns the font of the cell prior to the setting of the new font. |
See Also
FONT property, FOCUSCELLCOLOR property, FOCUSRECTSTYLE property, FOCUSRECTWEIGHT property, FOCUSRECTCOLOR property
Example
Declare function Get_Property, Set_Property * Set the font of the cell that has focus within an edit table to its existing font but ITALIC. focusCellFont = Get_Property( @window : ".TABLE_1", "FOCUSCELLFONT" ) focusCellFont<1,1,4> = 1 ; * Italic focusCellFont = Set_Property( @window : ".TABLE_1", "FOCUSCELLFONT", focusCellFont )