mysql - TCL HTML File Viewer -
mysql - TCL HTML File Viewer -
i want convert info mysql html using tcl.
the real problem converting mysql info html, showing html in tcl viewer, can host ie within tcl canvas or widget etc. want develop adhoc html-reporting module assignment.in short: want load/open/view html file in tcl. samples highly appreciated.
while can't create ie render on canvas — many things interact in unpleasant ways create impossible — may able utilize optcl embed in window, can set in canvas if choose.
here's informative illustration page:
package require optcl optcl::new -window .htm {http://wiki.tcl.tk} .htm config -width 800 -height 600 pack .htm
this manufacture instance of com object handling http url (in case, http://wiki.tcl.tk
) , embed in tk widget (.htm
). if going embed in canvas, you'd do:
package require optcl canvas .canv optcl::new -window .canv.htm http://wiki.tcl.tk .canv create window 0 0 -anchor nw -window .canv.htm pack .canv
well, that's minimum. you'd bit more (adding scrollbars, etc.)
there's more extensive example on wiki too. (this doesn't appear task tcom; that's designed allow tcl interact com, not allow tk embed widgets defined it.) aware i've not tested on recent windows systems or recent versions of tcl/tk.
html mysql tcl tk
Comments
Post a Comment