-
Content Count
2750 -
Joined
-
Last visited
-
Days Won
162
Everything posted by Uwe Raabe
-
Is this folder is added to the PATH variable or how do you make Windows find those libraries? Also, which folder is given as the starting folder when you launch the application?
-
A TEdit can only show one line. For multi-lines use a TMemo instead.
-
I try to omit the control type in the name in favor of the purpose the control is used for. F.i. instead naming a TLabel as lblSomething and a TStaticText as sttSomethingElse I use dspSomething, dispSomething or even displaySomething lately. Similar I give a TEdit, TMemo or TComboBox (if not in List style) a editSomething name, while a TRadioGroup, TLIstBox or TComboBox (when in List style) gets a name like selectSomething. The advantages are that these names usually stay as is when the controls are changing type and it contributes to documentation - at least a little bit.
-
How do I set debugging ranges with-in lines?
Uwe Raabe replied to JohnLM's topic in Delphi IDE and APIs
A bit tedious, but you can set a breakpoint by pressing F5 in each line from 2 to 7 and use F9 instead of F8. (Not that I would rate that a good solution, but my perception may be different than yours.) -
With inline vars this works: Var Boy, Girl, Couple: string; But this does not: Var Boy: string; Girl: string; Couple: string;
-
You are using inline variables. Try moving the variables declaration before the begin. procedure TFormStringConcatenation.ButtonAddCoupleClick(Sender: TObject); Var Boy: string; Girl: string; Couple: string; begin Boy := EditEnterBoy.Text; Girl := EditEnterGirl.Text; Couple := Boy + ' and ' + Girl; ListBoxCouple.Items.Add(Couple);
-
Well, MMX was born in 2001 and I assume the help is just as old.
-
Sending is done via MAPI, so no special handling for some mailers. You can check or set the MAPI entry under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Messaging Subsystem/ and /HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows Messaging Subsystem/ for a REG_SZ value of 1. The help gives some information:
-
Have you tried using ToString instead of ToJSON?
-
Signotaur Code Signing Server - Looking for beta testers
Uwe Raabe replied to Vincent Parrett's topic in Delphi Third-Party
When you sell to larger companies? Definitely! Most likely they will never make it to be your customers. -
Circular references with API design
Uwe Raabe replied to Darian Miller's topic in Algorithms, Data Structures and Class Design
The TRecordA/TRecordB relation leads to a structure of infinite size. I would question the design choice, but having no knowledge of the underlying API that is not more than just a gut feeling. IMHO, you should use the approach that fits best. There is no general rule for all cases. -
Delphi 11.3 vs. Delphi 12.1 : 'View/Tool Windows/Palette' and 'View/Toolbars/Component'
Uwe Raabe replied to Ruud's topic in Delphi IDE and APIs
The RSP issues are from the Old Quality Portal (now read-only). Although they are not visible in the New Quality Portal, they still exist in the internal tracking system. -
Source Indexer no longer auto rebuilds at startup
Uwe Raabe replied to havrlisan's topic in MMX Code Explorer
There was a change in V15.1.10 that prohibits the Auto-Scan until the search window is visible. I had a couple of reports about errors regarding hidden windows in this area. Seems I have to think about a more sophisticated fix for that. Perhaps prohibiting the display instead of the search would be more suitable. -
While TApplication checks IsShortCut for the main form only, each form also checks IsShortCut for all its child components (direct and indirect). Your options to get the TActionList on the datamodule executed is either make the datamodule owned by the mainform or wire the OnShortCut event handler of TApplication and call the actionlist IsShortCut manually.
-
Delphi 11.3 vs. Delphi 12.1 : 'View/Tool Windows/Palette' and 'View/Toolbars/Component'
Uwe Raabe replied to Ruud's topic in Delphi IDE and APIs
Could it be related to this one: RSP-18189 - Duplicate items in component palette -
General question for "Edit.Text's": Why is WordWrap not active bydefault?
Uwe Raabe replied to Rollo62's topic in Delphi IDE and APIs
With WordWrap = True, the AutoSize property of a Vcl TLabel doesn't work the same as without. BTW, almost the same holds true for FMX. -
Not sure what happened in your case, but for me it was just executing the setup, confirm any questions and re-compile one package to get it working again.
-
May depend on the current filter and search criteria you use: https://embt.atlassian.net/servicedesk/customer/portal/1/RSS-1944
-
$FFFF can both be const and not ?
Uwe Raabe replied to dormky's topic in RTL and Delphi Object Pascal
Despite its name the TTARRAY declaration is a set and not an array, but sets are limited to elements with ordinal 0..255. -
I'm working with 12.2 Patch 1 on my productive system now for five days and I also don't see any problems debugging. The only problem appeared directly after the update, caused by an internal package compiled without the patch and resolved by recompiling. The build system was updated before to allow for testing the compatibility of packages compiled with Patch 1 on a system without.
-
Probably because at that time pointers were still 32 bit only.
-
Feature enhancement request - Filter DFM properties
Uwe Raabe replied to pyscripter's topic in GExperts
And Embarcadero still refuses to implement this feature request (despite its 188 votes): RSP-35301 - Option to design in Screen PPI but save in 96 PPI For me and quite a couple of other users that is mandatory for using the IDE in High-DPI.- 11 replies
-
@PeterBelow It is even possible to inject new properties to the Object Inspector. In Cmon.DataSense.Design.pas I use this technique to add a DataSource and DataField property to supported controls. The additional data is stored in a special component (TDataSense) using a dictionary internally:
-
That sounds more like Quantum Mechanics than Mathematics.