Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

 
Code Block
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 )