dtussman wrote:Also I noticed that using the Preview function if you click the button to save it as a Microsoft Word document it saves it as an image and so you can't edit the text at all. Is that the best we can do?
TPreview():lListViewHide := .T.
REDEFINE BTNBMP oBtn ID 4014 OF oDlgDet UPDATE PIXEL 2007 NOBORDER CENTER ; //38
ACTION ( oExcel:=oBrwDet:ToWord() )
oBtn:cTooltip := "Exportar Lote"
function test()
local oExcel, oWord
oExcel := ExcelObj()
oWord := WinWordObj()
? "Excel " + If( oExcel == nil, "not ", "" ) + "installed"
? "Word " + If( oWord == nil, "not ", "" ) + "installed"
return nil
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 90 guests