The "simple" way to create and print tables from Director without extras
that i found (in fact, i saw it on a collegue WEB site...)was with a script
that write a standard HTML source code, save to a .htm file and open it in
Explorer. Looks like that (much abbreviated for example).

on TabForHTML

  Ghtml = "<HTML><BODY BGCOLOR=FFFFFF >"

  put "<TABLE CELLSPACING=4 CELLPADDING=4 width='75%'>" after Ghtml

  put "<TR>" after Ghtml

  put "<TD ALIGN='center'><FONT FACE='arial'
SIZE='+1'>Gmycellcontenthere</TD>" after Ghtml

  put "</TR>" after Ghtml
  put</TABLE>" after Ghtml

etc., etc....

put "</BODY></HTML>" after Ghtml


  --  open fileIO instance
  set myresult= new(xtra "fileIO")

  --  open user file
  openFile(myresult, Gmysavingfile, 0)

  --  write to file
  writeString(myresult, Ghtml)

end

and:

on openinexplorer
        open Gmysavingfile with explorerpath
end



Bastien Bouchard
Logique multim�dia
[EMAIL PROTECTED]

99 Turcot
Beauport (Qu�.)
G1B 2L4
(418) 821-0301

2190 Maisonneuve Est
2i�me �tage
Montr�al
H2K 2E3
(514) 569-1238


>


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to