Mobile App Development Software
Alpha TransForm
|
Alpha Anywhere - Build Apps for Free
Alpha Software
Documentation
  • Reference
  • Desktop API
  • Layout
  • RTF
  • Memo
  • RTFMEMO.GET_FONT_COLOR Method
Parent | Child | Previous | Next
  • RTFMEMO.CENTER_JUSTIFY Method
  • RTFMEMO.CUT Method
  • RTFMEMO.DELETE Method
  • RTFMEMO.FULL_JUSTIFY Method
  • RTFMEMO.GET_CURSOR Method
  • RTFMEMO.GET_FONT Method
  • RTFMEMO.GET_FONT_COLOR Method
  • RTFMEMO.GET_JUSTIFICATION Method
  • RTFMEMO.GET_STYLE Method
  • RTFMEMO.INSERT Method
  • RTFMEMO.INSERT_ELSEIF Method
  • RTFMEMO.INSERT_ENDIF Method
  • RTFMEMO.INSERT_IF Method
  • RTFMEMO.INSERT_IF_UNPAIRED Method
  • RTFMEMO.INSERT_IFELSE Method
  • RTFMEMO.INSERT_IFELSE_UNPAIRED Method
  • RTFMEMO.INSERT_PAGEBREAK Method
  • RTFMEMO.LEFT_JUSTIFY Method
  • RTFMEMO.PASTE Method
  • RTFMEMO.RESET Method
  • RTFMEMO.RIGHT_JUSTIFY Method
  • RTFMEMO.SELECT Method
  • RTFMEMO.SET_CURSOR Method
  • RTFMEMO.SET_FONT Method
  • RTFMEMO.SET_STYLE Method
  • RTFMEMO.STYLE
 
Xbasic

RTFMEMO.GET_FONT_COLOR Function

Syntax

Font_Color as C = .GET_FONT_COLOR()

Description

The .GET_FONT_COLOR() method returns the font color at the current cursor location.

Example

dim obj as P
obj = :Customer_Information:rtfmemofield.this
obj.rtf.insert_text("This is RTF text")
obj.rtf.set_cursor(20)
obj.rtf.set_font("Verdana,10","Red")
? obj.rtf.get_font_color()
= "Red"

Limitations

Desktop applications only.

See Also

  • RTF Functions and Methods
  • <RTF> Properties
Report an issue with this page
Mobile App Development Software

Alpha TransForm - Quickly Build Enterprise Mobile Forms
- Try it for Free

Alpha Anywhere - Low Code Platform for Mobile Developers
- Build Apps for Free
Alpha Software Corporation

781.229.4500
© Copyright 2000-2020 Alpha Software Corporation. All Rights Reserved

Privacy Policy