HeDiBo

Forum Replies Created

Viewing 20 posts - 141 through 160 (of 1,174 total)
  • Author
    Posts
  • in reply to: v15.13 is slow #69216
    HeDiBo
    Participant

      I did not notice much improvement in AC 15.11
      Must be your specific combination of AC controls.
      In general I must say I’m not very impressed with the current speed of AC.
      There’s definitely something wrong in the paint part. Look at the attached picture of the MegaDemo. The page for App scaling is not painted after switching to it from another part.

      Attachments:
      You must be logged in to view attached files.
      in reply to: v15.13 is slow #69215
      HeDiBo
      Participant

        Do you use data aware components in your project?
        Because, I think I can see what you mean when page changing to pages with data aware components. It looks like all kind of different data records pass before the correct one is positioned,
        I’ll go back to the previous version of AC to check this.

        in reply to: Bug in TsRadioGroup prevents unselecting all items #69207
        HeDiBo
        Participant

          The compiler is Delphi XE4. The debug environment is Win32.
          Set a breakpoint on this statement:

          procedure TBaseForm.sButton1Click(Sender: TObject);
          begin
             sRadioGroup1.ItemIndex := 0;   << Set a breakpoint on this statement.
             RadioGroup1.ItemIndex := 0;
          end;

          Click the button “Select One”
          Upon reaching the breakpoint, click on the first ItemIndex property.
          Then press Ctrl-F7 (Evaluate/Modify).
          I get an Internal Error : F2084 Internal Error: AV06EA8554-R80000000-0

          HeDiBo
          Participant

            Maybe you can make SetValue an overridable procedure. Then if the value comes from the program and not from the user input, you skip all checking.

            in reply to: An image as part of a row in TcxGrid has wrong color #69204
            HeDiBo
            Participant

              In the attached project, the second column of the grid contains an image from a TsCharImageList.
              Highlight for instance row 32. You’ll see that the text is Black on Orange, but the image is still White on Orange.

              Attachments:
              You must be logged in to view attached files.
              in reply to: TsFilenameEdit doesn’t work with old style dialog #69189
              HeDiBo
              Participant

                In AC 15.13 problem is solved 🎈

                in reply to: Bug in TsRadioGroup prevents unselecting all items #69187
                HeDiBo
                Participant

                  This is the exception, if I press Ctrl-F7 upon reaching a breakpoint on the first statement (AC 15.13)
                  The problem of not refreshing is solved.

                  Attachments:
                  You must be logged in to view attached files.
                  HeDiBo
                  Participant

                    There is another problem with MinValue in this control.
                    If you insert a record, the control is prefilled with this minimum value, when the user focuses the control. At least so it seems. However if the user goes to another control, the TsDBCalcEdit control is cleared again. So, in stead of filling the data field with the minimum value, the data field stays cleared. Then when the record is posted, it is posted with an empty data field, which is the worst that can happen 🀐

                    Still a bug in AC 15.13 πŸ˜’

                    in reply to: An image as part of a row in TcxGrid has wrong color #69185
                    HeDiBo
                    Participant

                      Not solved in AC 15.13
                      The image in a highlighted row is shown in its normal color, not in the color used for the font in a highlighted row (its color is not inverted, if the normal font is).

                      HeDiBo
                      Participant

                        How can I internationalize the string ‘The value is out of min/max bounds’?

                        HeDiBo
                        Participant

                          Not checking values for output will also fix this nasty bug:

                            procedure DoMinMaxError;
                            var
                              s: acString;
                            begin
                              s := 'The value is out of min/max bounds';
                              if not (csDesigning in ComponentState) then
                                SetFocus;     <<<<< Throws exception <<<<<
                          
                              if Assigned(OnValidateError) then
                                OnValidateError(Self, s)
                              else
                                raise EDBEditError.Create(s);
                            end;

                          The procdure DoMinMaxError is also called when displaying the value. If the control cannot be focused, an exception occurs.
                          Why would you focus a control used for output!! Probably because you only should do this procedure in case of input.

                          HeDiBo
                          Participant

                            This picture shows the problem.
                            The grid’s current row is duplicated in the area below the navigator.
                            However, the value of the highlighted field is falsified!!
                            Suppose the values depict a danger level. It should not be possible that such a vital value is totally changed.

                            Attachments:
                            You must be logged in to view attached files.
                            HeDiBo
                            Participant

                              If the new AutoValueCorrect property is False, then developer is able to handle this error in the OnValidateError event. Value will not be auto corrected and developer can leave it as is. Will it help?

                              I don’t think so. Values that by reading a dataset are put in a TsDBCalcEdit should appear there unaltered!!
                              This is a principle. By not honoring the content of the datafield, the program falsifies data!

                              • This reply was modified 5 years, 7 months ago by HeDiBo.
                              in reply to: Bug in TsRadioGroup prevents unselecting all items #69174
                              HeDiBo
                              Participant

                                Where execution is stopped when AV is occured? (Can’t repeat AV)

                                The IDE itself throws an exception when trying to add a watch. App is not running then.

                                HeDiBo
                                Participant

                                  There is another problem with MinValue in this control.
                                  If you insert a record, the control is prefilled with this minimum value, when the user focuses the control. At least so it seems. However if the user goes to another control, the TsDBCalcEdit control is cleared again. So, in stead of filling the data field with the minimum value, the data field stays cleared. Then when the record is posted, it is posted with an empty data field, which is the worst that can happen 🀐

                                  in reply to: MonthCalendar does not show the date correctly #69164
                                  HeDiBo
                                  Participant

                                    Please include a test project. I’m not sure what your problem is.

                                    HeDiBo
                                    Participant

                                      AutoValueCorrect is fine. Default must be True then.

                                      in reply to: Bug in TsRadioGroup prevents unselecting all items #69153
                                      HeDiBo
                                      Participant

                                        If you place a breakpoint on the first statement
                                        sRadioGroup1.ItemIndex := 0;
                                        And try to put a watch on ItemIndex, my Delphi IDE (my Delphi is XE4) throws an access violation. It doesn’t do that on the second statement
                                        RadioGroup1.ItemIndex := 0;
                                        Something is terribly wrong 🀒

                                        in reply to: Show hints even if control is disabled #69135
                                        HeDiBo
                                        Participant

                                          I think you’ve solved it πŸ‘

                                          HeDiBo
                                          Participant

                                            In the same manner, hints on a row of disabled TsSpeedButtons flicker heavily. The edit fields in the same panel show an empty hint.

                                            Attachments:
                                            You must be logged in to view attached files.
                                          Viewing 20 posts - 141 through 160 (of 1,174 total)