-
Content Count
2954 -
Joined
-
Last visited
-
Days Won
171
Everything posted by Uwe Raabe
-
In that case you should use the Enabled property of each TabSheet.
-
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.
-
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?
-
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;
-
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.
-
Good idea! I just created a feature request for that. Cannot promise when it will be implemented, though.
-
I also have several Delphi versions on my system, but each if them has only one and an appropriate evaluator in that registry key.
-
Please file a bug report.
-
No problems here.
-
Custom Control for TDBCtrlGrid showing only active data
Uwe Raabe replied to Hugo Bendtner's topic in VCL
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? -
{$Defines xxxx} not working at design time..
Uwe Raabe replied to Ian Branch's topic in Delphi IDE and APIs
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? -
Writing if statement in the Code Editor
Uwe Raabe replied to PeterPanettone's topic in Delphi IDE and APIs
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. -
Strange bug with string literals in RAD Studio 12
Uwe Raabe replied to luebbe's topic in RTL and Delphi Object Pascal
Either wait that someone adds you to the Embarcadero Customers group or file an issue by yourself, which automatically adds you to the group. -
Strange bug with string literals in RAD Studio 12
Uwe Raabe replied to luebbe's topic in RTL and Delphi Object Pascal
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. -
Writing if statement in the Code Editor
Uwe Raabe replied to PeterPanettone's topic in Delphi IDE and APIs
So, perhaps a dpi issue? Some system information may be helpful here. -
Writing if statement in the Code Editor
Uwe Raabe replied to PeterPanettone's topic in Delphi IDE and APIs
You might file a feature request in the new Quality Portal. -
OT? Forum credentials for C++ builder XE-5 install
Uwe Raabe replied to BruceV's topic in General Help
The credentials for this forum and Embarcadero Licensing are two totally independent things. This forum is not even driven by Embarcadero.- 3 replies
-
- installation
- xe-5
-
(and 1 more)
Tagged with:
-
Writing if statement in the Code Editor
Uwe Raabe replied to PeterPanettone's topic in Delphi IDE and APIs
Probably some setting in your system. This is what happens here: 06-04-2024_23-37-15.mp4 -
Delphi 12 messing up with test project's DPR when using TestInsight and DUnitX
Uwe Raabe replied to John R.'s topic in Delphi IDE and APIs
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. -
That doesn't guarantee that it turns out as feasible.
-
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.
-
Actually there is: Embarcadero Quality Portal Mor information here: Delphi 12.1 & New Quality Portal Released
-
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.
-
Did you try Double Word?
-
It is OK. The long name is Delphi 12 Update 1.