guides:programming:programmers_reference_manual:focuscellfont

FOCUSCELLFONT Property

Edit table.

Defines the font to use for the cell that currently has focus within the edit table.

gFocusCellFont = Get_Property( editTable,"FOCUSCELLFONT")

sFocusCellFont = Set_Property( editTable,"FOCUSCELLFONT", fontStruct)

Values passed in Set_Property():

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

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.
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 )
  • guides/programming/programmers_reference_manual/focuscellfont.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1