Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Simple HTML editor using webBrowser control
Message
De
22/03/2018 18:26:25
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01658825
Message ID:
01658950
Vues:
395
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform