Jump to content

Recommended Posts

Posted

Hello,

 

pReport : TUniFormPreview;
begin
 
  pReport := TUniFormPreview.Create(UniApplication);
  pReport.Free;

....

 

If I create a form and call free method a exception is produced:

 

  1. Uncaught ReferenceError: O38B is not defined
    1. (anonymous function)
    2. continueFireEventext-all.js:21
    3. fireEventArgsext-all.js:21
    4. a.fireEventArgsext-all.js:21
    5. fireEventext-all.js:21
    6. Ext.cmd.derive.onProxyLoadext-all.js:21
    7. Ext.cmd.derive.processResponseext-all.js:21
    8. (anonymous function)ext-all.js:21
    9. Ext.apply.callbackext-all.js:21
    10. (anonymous function)ext-sync-min.js:8
    11. Ext.cmd.derive.onCompleteext-all.js:21
    12. (anonymous function)ext-sync-min.js:8
    13. Ext.cmd.derive.onStateChangeext-all.js:21
    14. (anonymous function)

 

 

 

Posted

I need to call a function that render a PDF file, I don´t need show form.

 

Error raises without calling any function. The code will be...

 

pReport := TUniFormPreview.Create(UniApplication);

 

pReport.Render......

 

pReport.Free;

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...