Jump to content

FastReport DialogPage and uniGUI


snow

Recommended Posts

Hello everyone,

I recently started using uniGUI in my project. Many parts of this application rely on FastReport, most of those on the DialogPage for some data input or selection. I used the uniGUI FastReport Demo to get going, and reports without DialogPages work perfectly. For the other reports, I designed a form (based on TUniForm), which basically parses the DialogPage, creates uniGUI components and links them with the FastReport components on the DialogPage (i.e. a click on the TUniButton tiggers the OnClick event for the corresponing FastReport button).

While this works, it is really slow. For my test reports, it takes up to 7-8 seconds to build this form. Some events take up to 1 second to relay all information (from the uniGUI to the FastReport component, which triggers its FastReport event, the wait for this event to finish, and refreshing my form with this new data).

Since I'm probably not the only one struggling with this problem: How did you solve it? Like I did? Did you do something completely different? Could FastReport Server be a solution?

I appreciate your help.

Link to comment
Share on other sites

1 hour ago, snow said:

Hello everyone,

I recently started using uniGUI in my project. Many parts of this application rely on FastReport, most of those on the DialogPage for some data input or selection. I used the uniGUI FastReport Demo to get going, and reports without DialogPages work perfectly. For the other reports, I designed a form (based on TUniForm), which basically parses the DialogPage, creates uniGUI components and links them with the FastReport components on the DialogPage (i.e. a click on the TUniButton tiggers the OnClick event for the corresponing FastReport button).

While this works, it is really slow. For my test reports, it takes up to 7-8 seconds to build this form. Some events take up to 1 second to relay all information (from the uniGUI to the FastReport component, which triggers its FastReport event, the wait for this event to finish, and refreshing my form with this new data).

Since I'm probably not the only one struggling with this problem: How did you solve it? Like I did? Did you do something completely different? Could FastReport Server be a solution?

I appreciate your help.

Hi,

Can you create a test case so we can work on it?

Link to comment
Share on other sites

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...