main logo
Subject: RE: Rich Text control
Author: "Tracy Pearson"
Posted: 2007/05/31 15:24:25
 
View Entire Thread
New Search


This code in the command line puts text into the control

cF = CREATEOBJECT("form")
cF.Show()
cf.AddObject("oIE","olecontrol","shell.explorer.2")
cf.oIE.Width = cf.Width
cf.oIE.Height = cf.Height
cf.oIE.Visible = .t.
cf.oIE.navigate2("about:blank")
cf.oIE.Document.body.innerHTML = "Hello"

HTH,
Tracy

-----Original Message-----
From: Paul Newton
Sent: Thursday, May 31, 2007 4:06 PM

Tracy

I wonder if you could give me some overview of your DHTML solutions - I'm
thinking that if RTF is a dead-end, which it seems to be, I'll have to go
with HTML.

What I would specifically need is the ability to display HTML stored in a
memo field - is there a way to do this wthout having to STRTOFILE the memo
field

(PS Looking in the archives suggests that the webbrowser control might be a
better bet than the DHTML control.)

Many thanks

Paul




 
©2007 Tracy Pearson
<-- Prior Message New Search Next Message -->