Is it possible to show some Word Document (or Excel document) in a UniGUI Frame ?

If no-one has any better idea's you might want look at using TUniUrlFrame to open documents using javascript 



There is example at http://www.kavoir.co...es-in-html.html

but it uses activex so restricts functionality to IE



Glen





<script type="text/javascript">

    function openWord(strFilePath) {

        var yourSite = "http://www.yoursite.com";

        openWordDocPath(yourSite + strFilePath);

    }

    function openWordDocPath(strLocation) {

        var objWord;

        objWord = new ActiveXObject("Word.Application");

        objWord.Visible = true;

        objWord.Documents.Open(strLocation);

    }

</script>
    

  
     This is a simple tip that allows to display a text within an UniEdit control when it is empty (it would be great if UniEdit could have a property EmpryText to do this):

  • Just open UniEdit's ClientEvents and edit ExtEvents property
  • Add the following line in the "OnBeforerender" event:
sender.emptyText='text to display when the field is empty';

你可能感兴趣的:(document)