Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Simple HTML editor using webBrowser control
Message
From
22/03/2018 18:26:25
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01658825
Message ID:
01658950
Views:
404
As i said i dont updated the menu MPR of the post i pointed.
you can add some other code for ex:
-insert an image at design mode :
_screen.activeform.olecontrol1.document.execCommand("InsertImage",.t.)
-set a margin to whole document:
_screen.activeform.olecontrol1.document.body.style.margin = "25px"   &&here margin=25px
-set the lineHeight to the document (space between rows)
 _screen.activeform.olecontrol1.document.body.style.lineHeight="0.7"   &&0.8,0.9,1,1.....
can add -date (datetime)
-line

try also spellecheck (in my IE that dont appear!)
try
with _screen.activeform.olecontrol1.document.body
.spellcheck=iif(.spellchek=.f.,.t.,.f.)
endwith		 
catch
endtry



note that on design mode a contextuel menu is native (rightclick to fire it...select,copy,paste..)-there is also insert image.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform