Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Here is a simple HTML Editor that can be placed within a web browser control within a dialog. Nothing fancy but it does provide a way to create/edit formatted text from within a dialog. I assume that with a little tweaking one could convert the HTML files to other formats on the fly and still maintain most of the formatting.
Here is the link to the original information.
http://msdn.microsoft.com/workshop/author/editing/tutorials/html_editor.asp
I've added and removed a few buttons along with a few other adaptations. The file open/save/new buttons required a licensed ActiveX control so I removed those. That really isn't an issue though because I wanted to control that information from within the WinBatch Dialog.
The html_editor.htm file contains the scripting for the editor.
One can, obviously, take this and expand the Dialog and make use of other controls. I've kept it to a bare minimum for demonstration purposes.
Hmmmmm....what else might you want/need to know...
Search for resize in the html_editor.htm file to change the size of the editor.
Search for browsercreate(HTM_Handle,5,30,740,370) in the html_editor.wbt file to change the location/size of the browser in the Dialog.
I think the rest is fairly standard WinBatch Stuff.
Again, thanks to Guido for the web browswer code.
Enjoy.
Jim Taylor
Article ID: W17225
File Created: 2019:08:14:09:27:32
Last Updated: 2019:08:14:09:27:32