Page 1 of 1

StiForm strange behaviour

Posted: Thu Jul 08, 2010 2:49 am
by jjc
Hi all,
i have 2 stiForm in project Form1 and Form2 and when i Click the Button in the Form2 to send the data to the Report the report show a blank page but before to create the Form2 its did not happen...
Why this strange behaviour?Do you have any idea what i wrong?

In this project i need to use about 5 or 6 Forms because i have huge data to retrieve from the database.

Thanks so much for your attention.

Have a good day.

Cheers

StiForm strange behaviour

Posted: Thu Jul 08, 2010 8:47 am
by Jan
Hello,

Please show code which you use to render report.

Thank you.

StiForm strange behaviour

Posted: Thu Jul 08, 2010 8:49 pm
by jjc
Hi Jan,
now the report is not blank more but there is a strange behaviour when i click the Button to send the data to the report;
I have 2 forms ,Form1 and Form2 ,in the Form1 there is a Button1 to open the Form2 with this code:
Form2.ShowDialog();
i set up the the property Default = True; and Dialog Result = OK;
when i open the Form2 i have another Button2 to send the data to the report and i set up the property Default = True; and Dialog Result = OK;
when i click the Button2 its doesn't send the data to the report and happen nothing so i need to click one more time to send data and open the report.

So i don't know why happen that and how set up well this feature...where i wrong?

Hope to be clear and help you to understand my trouble.

Have a good day and thanks for your attention.

Cheers

#Edit : In my project i need to use more the 7 Forms and i saw in the components of stiForm there are not components as TabControl,ScrollBar and else and so i should use a lot of Forms 'cos i see for now there is not a better way to do that .

StiForm strange behaviour

Posted: Fri Jul 09, 2010 5:55 am
by Jan
Hello,

It very hard to say why it not work for us. Please send to us sample project which illustrate this problem.

Thank you.

StiForm strange behaviour

Posted: Sun Jul 11, 2010 8:38 pm
by jjc
Hi Jan,
thanks for your reply , i sent as your request an example of my project to show you the problem.

I wish you a good work.

Cheers

p.s Thanks for your support.

StiForm strange behaviour

Posted: Sun Jul 11, 2010 10:32 pm
by Andrew
Hello,

Ok! We will investigate the issue.

Thank you.

StiForm strange behaviour

Posted: Mon Jul 12, 2010 12:24 am
by Jan
Hello,

Please set Visible property for Form2 and Form3 in your report to false.

Thank you.

StiForm strange behaviour

Posted: Mon Jul 12, 2010 4:30 am
by jjc
Hi Jan,
thanks so much for your support as always it is right, i can perform well the task without trouble setting the Property Visible for the Form2 and Form3.:blush:

I wish you good day.

Cheers


StiForm strange behaviour

Posted: Mon Jul 12, 2010 4:51 am
by Andrew
Have a good day too!