Jump to content

Uwe Raabe

Members
  • Content Count

    2750
  • Joined

  • Last visited

  • Days Won

    162

Everything posted by Uwe Raabe

  1. Uwe Raabe

    If command

    Also there is a begin missing before the if. I suggest reading some basics about Pascal/Delphi syntax.
  2. Uwe Raabe

    Set form in read only mode

    Well, you have to enable all parent controls of the PageControl to let the user change tabs. In most of the cases disabling a whole form is not what you actually need. Often it boils down to disable individual components unless you can group some with TPanel or TTabSheet. There is no common approach to that as it usually depends on your UI design - which we cannot see.
  3. Uwe Raabe

    Set form in read only mode

    In that case you should use the Enabled property of each TabSheet.
  4. Uwe Raabe

    Delphi 12.1 is available

    Isn't that what Build is for (in contrast to Compile)? AFAIK, these Internal Errors happens because the compiler doesn't clean up properly. I doubt that this can be fixed by just adding an option to do so.
  5. Uwe Raabe

    DateTimePicker - Set empty date

    That error implies that the underlying field is not existing, probably because the dataset is not open. I would expect that the line DTP_STAT_HAND_GRIF_VOL_DOSSIER_OPVR_DATE.DataSource.Edit; I added to the code would cause an error first, but perhaps you just missed to copy that line into your code. Anyway, besides checking for Field <> nil, the question is: Why would you want to set that value when the dataset is not open?
  6. Uwe Raabe

    DateTimePicker - Set empty date

    It may be better to directly change the underlying data field instead of the control: procedure Tfrm_Page_Control.DBCheckBox44Click(Sender: TObject); begin DTP_STAT_HAND_GRIF_VOL_DOSSIER_OPVR_DATE.DataSource.Edit; if TDBCheckBox(sender).Checked then begin DTP_STAT_HAND_GRIF_VOL_DOSSIER_OPVR_DATE.Field.AsDateTime := Now; DTP_STAT_HAND_GRIF_VOL_DOSSIER_OPVR_DATE.Visible := True; end else begin DTP_STAT_HAND_GRIF_VOL_DOSSIER_OPVR_DATE.Field.Clear; DTP_STAT_HAND_GRIF_VOL_DOSSIER_OPVR_DATE.Visible := False; end; end;
  7. Uwe Raabe

    DateTimePicker - Set empty date

    The error message is pretty clear: Set the ShowCheckBox property of the DateTimePicker to True. You don't even have to set the Date property to NULL. It should be sufficient to uncheck the Checkbox or set the Checked property to False. That will write a NULL value to the data field instead of 30/12/1899.
  8. Uwe Raabe

    Uses Clause Sorting??

    Good idea! I just created a feature request for that. Cannot promise when it will be implemented, though.
  9. Uwe Raabe

    Delphi 12.1 is available

    I also have several Delphi versions on my system, but each if them has only one and an appropriate evaluator in that registry key.
  10. Uwe Raabe

    Delphi 12.1 is available

    Please file a bug report.
  11. Uwe Raabe

    Delphi 12.1 is available

    No problems here.
  12. Uwe Raabe

    Custom Control for TDBCtrlGrid showing only active data

    When a control has csReplicatable in its ControlStyle, it signals that it can be copied using the PaintTo method to draw its image to an arbitrary canvas. Perhaps that doesn't hold true for TMyDataLabel?
  13. Uwe Raabe

    {$Defines xxxx} not working at design time..

    As this feature is driven by LSP, it looks like the code contains a construct LSP is stumbling about. Do you notice any other problems with Ctrl-Click navigation, error insight or code insight?
  14. Uwe Raabe

    Writing if statement in the Code Editor

    Works here even when monitors are side-by-side. Although the frame and toolbar appear on the main monitor, just clicking into the second one shots the second one.
  15. Either wait that someone adds you to the Embarcadero Customers group or file an issue by yourself, which automatically adds you to the group.
  16. Could be related to String with non-ASCII characters directly attached to a #xx or #$xx literal corrupts the final string Current workaround is to use a + operator to concatenate the parts.
  17. Uwe Raabe

    Writing if statement in the Code Editor

    So, perhaps a dpi issue? Some system information may be helpful here.
  18. Uwe Raabe

    Writing if statement in the Code Editor

    You might file a feature request in the new Quality Portal.
  19. The credentials for this forum and Embarcadero Licensing are two totally independent things. This forum is not even driven by Embarcadero.
  20. Uwe Raabe

    Writing if statement in the Code Editor

    Probably some setting in your system. This is what happens here: 06-04-2024_23-37-15.mp4
  21. The inclusion of the units seems to do no harm. The linker probably omits them when no instance is created. It is different with TestInsight as unit TestInsight,DUnitX may not even exist.
  22. Uwe Raabe

    New quality portal for bugs is open

    That doesn't guarantee that it turns out as feasible.
  23. Uwe Raabe

    New quality portal for bugs is open

    Ways to add the old reports to the new system is still discussed internally. The presence of two disjunct systems is sub-optimal, but better than the state before.
  24. Uwe Raabe

    Delphi 12.1 is available

    Actually there is: Embarcadero Quality Portal Mor information here: Delphi 12.1 & New Quality Portal Released
  25. Uwe Raabe

    D5 data file misread in XE program

    The compiler setting can be overwritten in code by the {$A and {$ALIGN compiler directive. To avoid irritations it might be better to place an {$A4} directly in front of the record declaration. BTW, I was able to read the file correctly with the declaration shown above with Delphi 12.
×