- This topic has 5 replies, 3 voices, and was last updated 13 years, 11 months ago by m56ober.
-
AuthorPosts
-
December 7, 2010 at 10:31 am #34172m56oberParticipant
My application is an MDI, but the problem is on a modal form
I'am using Fastreport in my application
I'cant show design report with AC
so i want deactivate AC before create my form
sSkinManager1.Active := False; <- it's good FRM_EDITIONS:=TFRM_EDITIONS.Create(Self); <- The application sent an error ; Have some idea Thank you
December 7, 2010 at 10:51 am #44125OldGrumpyParticipantFirst of all: Sorry for my ranting, but I get such obviously useless error messages all day. Why is it that people are unable to state exactly WHAT ERROR MESSAGE appears on their screen? It's even worse when YOU, who (I guess) is a developer, makes the same mistake. If your car is broken, do you just bring it in for repair without telling them what's wrong with it? I'm usually very patient with average users who have no clue about how to report a bug properly, but YOU as a developer should know how. Just for your reference: Please read http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
Thanks for your efforts though.
December 8, 2010 at 8:02 am #44142m56oberParticipantkeep cool,
I haven't error message, the program only stop with a sound 'beep'
I must use task list for initialized the application
When i deactivate skinmanager all is ok.
That's all
I just expose my problem
I say myself that somebody in can had the same
So for me it's not an useless error!
My procedure is carrying very simple
procedure TFRM_MAIN.EditionsExecute(Sender: TObject);
begin
sSkinManager1.Active := False;
FRM_EDITIONS := TFRM_EDITIONS.Create(Self);
Try
FRM_EDITIONS.Showmodal;
Finally
FRM_EDITIONS.Free;
End;
sSkinManager1.Active := True;
End;
Best Regards
December 8, 2010 at 9:38 am #44143OldGrumpyParticipantFor a simple test, please comment out the try..finally. The try..finally might just swallow the error message.
December 17, 2010 at 10:42 am #44215SupportKeymasterHello, m56ober
I have checked skinned FastReport now and hadn't a problem there.
Please give a more info, what is TFRM_EDITIONS?
It's your form?
You can disable automatic skinning of Delphi forms if TsSkinManager.SkinningRules.srStdForms will be False.
For skinning of form the TsSkinProvider component must be used in this case.
But will be good, if you give more info about a problem..
December 21, 2010 at 8:10 am #44245m56oberParticipantHello
I have just installed the version 7.26
Now everything seems to work fine.
– FastReport : OK
– MDI forms crash : OK!
Thank you very much
-
AuthorPosts
- You must be logged in to reply to this topic.