Board index » cppbuilder » QuickReport Form Maximised

QuickReport Form Maximised


2004-12-11 09:25:33 PM
cppbuilder78
Hi
Newbie question.
I have a form whose WindowsState property is set to Normal.
On the form is a TQickRep component with Title, Header, Detail & Footer
bands, the report displays correctly except for always being shown initially
maximised, once open, the form can be resized.
How can I get the form to open Window State normal?
BCB5
Windows 2000
Thanks for any help
Jack
 
 

Re:QuickReport Form Maximised

I think you can use "QuickRep1->PreviewInitialState=wsNormal"
if I understand your question!!!
hi
"Jack Mills" < XXXX@XXXXX.COM >ha scritto nel messaggio
Quote
Hi
Newbie question.

I have a form whose WindowsState property is set to Normal.
On the form is a TQickRep component with Title, Header, Detail & Footer
bands, the report displays correctly except for always being shown
initially
maximised, once open, the form can be resized.
How can I get the form to open Window State normal?

BCB5
Windows 2000

Thanks for any help

Jack



 

Re:QuickReport Form Maximised

Thanks for the response Andrea
Sorry to be such a dummy, but where do I place your code
QuickRep1->PreviewInitialState=wsNormal
At the moment I preview like this.
EMCSRep->QRepEM_CS->Preview();
I tried
EMCSRep->QRepEM_CS->PreviewInitialState=wsNormal
But got a message PreviewInitialState is not a member of TQuickRep
Jack
"Andrea Biasi" < XXXX@XXXXX.COM >wrote in message
Quote
I think you can use "QuickRep1->PreviewInitialState=wsNormal"
if I understand your question!!!

hi

 

{smallsort}