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():

ValueDescription
fontStructThe standard OpenInsight font structure. Refer to the FONT property for details.

Returns

Values returned by Get_Property and Set_Property

 

ValueDescription
gFocusCellFontReturns the current font of the cell with focus.
sFocusCellFontReturns the font of the cell prior to the setting of the new font.

See Also

FONT propertyFOCUSCELLCOLOR propertyFOCUSRECTSTYLE propertyFOCUSRECTWEIGHT propertyFOCUSRECTCOLOR 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 )
  • No labels