Problem on create form after sSkinManager1.Active := False;

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #44125
    OldGrumpy
    Participant

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

      #44142
      m56ober
      Participant

        keep 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

        #44143
        OldGrumpy
        Participant

          For a simple test, please comment out the try..finally. The try..finally might just swallow the error message.

          #44215
          Support
          Keymaster

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

            #44245
            m56ober
            Participant

              Hello

              I have just installed the version 7.26

              Now everything seems to work fine.

              – FastReport : OK

              – MDI forms crash : OK!

              Thank you very much

            Viewing 5 posts - 1 through 5 (of 5 total)
            • You must be logged in to reply to this topic.