Forum Replies Created
-
AuthorPosts
-
HeDiBoParticipant
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.HeDiBoParticipantDo 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.HeDiBoParticipantThe 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-0August 6, 2020 at 5:28 pm in reply to: TsDBCalcEdit should not honor Min and Max on displaying values #69206HeDiBoParticipantMaybe 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.
HeDiBoParticipantIn 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.HeDiBoParticipantIn AC 15.13 problem is solved π
HeDiBoParticipantThis 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.August 5, 2020 at 1:05 pm in reply to: TsDBCalcEdit should not honor Min and Max on displaying values #69186HeDiBoParticipantThere 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 π
HeDiBoParticipantNot 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).August 5, 2020 at 12:47 pm in reply to: TsDBCalcEdit should not honor Min and Max on displaying values #69184HeDiBoParticipantHow can I internationalize the string ‘The value is out of min/max bounds’?
August 5, 2020 at 12:34 pm in reply to: TsDBCalcEdit should not honor Min and Max on displaying values #69183HeDiBoParticipantNot 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.August 5, 2020 at 11:38 am in reply to: TsDBCalcEdit should not honor Min and Max on displaying values #69181HeDiBoParticipantThis 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.August 4, 2020 at 4:04 pm in reply to: TsDBCalcEdit should not honor Min and Max on displaying values #69179HeDiBoParticipantIf 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 4 years, 3 months ago by HeDiBo.
HeDiBoParticipantWhere 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.
August 2, 2020 at 9:56 am in reply to: TsDBCalcEdit should not honor Min and Max on displaying values #69166HeDiBoParticipantThere 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 π€HeDiBoParticipantPlease include a test project. I’m not sure what your problem is.
July 28, 2020 at 5:13 pm in reply to: OnValidateError has may be more functional in TsCalcEdit #69154HeDiBoParticipantAutoValueCorrect is fine. Default must be True then.
HeDiBoParticipantIf 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 π€’HeDiBoParticipantI think you’ve solved it π
July 7, 2020 at 11:11 am in reply to: Empty or invisible Hints if TsAlphaHints.HandleDisabledCtrls set #69083 -
AuthorPosts