I have done this is a few ways.
You can use a formatted memo field type and parse the test to find the words and then select the word and make it bold.
Find the text and select it (in OPAL).
Look at these types of commands (examples):
active.action(MoveRightWord)
active.action(SelectLeftWord)
Then look at something like this (snipped code)
method FontFormatKeys(var eventInfo KeyEvent) logical
var
ky string
fs smallInt
retval logical
endvar
ky = eventinfo.vchar()
retval = true
if eventInfo.isControlKeyDown() = true then
retval = false
fs = active.Font.Style
switch
case ky = "B":
active.Font.Style = fs.bitXOR(FontAttribBold)
case ky = "U":
active.font.style = fs.bitXOR(FontAttribUnderline)
case ky = "I":
active.font.style = fs.bitXOR(FontAttribItalic)
case ky = "K":
active.font.style = fs.bitXOR(FontAttribStrikeOut)
case ky = "N":
active.font.style = FontAttribNormal
case ky = "VK_UP":
active.font.size = active.font.size + 1
case ky = "VK_DOWN":
if active.font.size > 1 then
active.font.size = active.font.size - 1
endif
otherwise:
retval = true
endswitch
endif
return retval
endMethod
Other methods include doing this outside of Paradox and pasting an RTF into the Fmemo field. This got a little trickier in the new MS Office, when it changed to XML internal format.
Or
In OPAL parse the plain text and create a HTML doc and display in browser.