Hi
I found this code sample by Enrico for displaying a pdf
oPdf := TActiveX():New( oWnd, "AcroPDF.PDF" )
oPdf:Do( "LoadFile", "WIP-14.PDF")
oWnd:oClient := oPdf
This works fine but when I place the code in the action of a button
the "oWnd:oClient := oPdf" does not work , the pdf opens but is not
a client of oWnd - how can I set it to work properly.
Regards
Colin