-
Content Count
2542 -
Joined
-
Last visited
-
Days Won
147
Posts posted by Uwe Raabe
-
-
It is possible that you have to implement it yourself in the way it is needed as it is noted in the docs:
QuoteTOAuth2Authenticator implements a basic OAuth2 authentication. TOAuth2Authenticator offers minimal support and provides the infrastructure to follow the workflow of the service provider.
Inherit from this class to create an authenticator class specific to a service provider.
That said, giving a concrete example is difficult without knowing more details.
- 1
-
This code should terminate the application after the form creation without making the main form visible:
Application.ShowMainForm := False; Application.Terminate;
- 2
-
2 minutes ago, Stefan Glienke said:During my vacation, I stayed away from anything programming
Duh 🤯
- 1
-
14 minutes ago, Henry Olive said:Thank you so much Lars
I tried System.StrUtils.SplitString('-', MyStr) [0];
but still get the same error
If i remove QRCtrls, QuickRpt from Uses, below codes work fine w/o any error
MyStr := CDS1.DataSet.FieldByName('DOCNO').AsString;
MyLeftStr := SplitString('-',MyStr) [0];
MyRightStr := SplitString('-',MyStr) [1];The calls to SplitString look as if the parameters need to be switched. First parameter is expected to be the string to be split, while second is the string with the separators.
Note that the QuickReport implementation allows only a Char for the separator, while the StrUtils one allows multiple separators.
-
29 minutes ago, Lars Fosdal said:needs to be continously updated/patched, and replaced before EOL.
Seems like the machine manufacture prefer the replace option. Sometimes they provide a replacement of the controller hardware, but often that turns out incompatible to the machine equipment.
I would love that to be different, as it would allow me to sell updates to newer versions of my software developed with more recent Delphi versions.
-
Can you show both uses clauses of that unit?
-
Put the StrUtils into the uses of the implementation section or at least after QrCtrls.
-
My customer base has machines running even with Windows 95. It is quite common that such kind of machines are not able to get a new version anymore.
-
1 hour ago, Henry Olive said:but i still get the same error msg.
In that case you need to show more of your code.
-
LeftStr and RighStr are functions declared in StrUtils.
-
5 minutes ago, David Heffernan said:Would be quicker just to write them yourself
Which seems to be a no brainer since we just learned that you can just copy that code from Microsoft.
-
9 minutes ago, Rollo62 said:I assume that he has the D11 code
I doubt that:
4 hours ago, David Schwartz said:I'm using D10.4.2. It would be really nice to be able to use these new things without having to keep creating workarounds or spending several hundred dollars to upgrade Delphi.
-
1 minute ago, FPiette said:Not sure this is legal if he didn't upgraded first to D11.2.
That was exactly my thought. 👍
-
Have you tried using the debugger to inspect the actual content of Str in the problematic case?
-
Can you check what the IDE environment variable $(BDSCOMMONDIR) contains?
-
QuoteQ3: How can I force FireDAC to recognize some field as boolean?
A: A boolean field may be created using a domain. The domain name must contain 'BOOL' substring. Also, add ExtendedMetadata=True parameter to your connection definition. For example:
CREATE DOMAIN T_BOOLEAN SMALLINT; CREATE TABLE ... ( ... BOOLEAN_FIELD T_BOOLEAN, ...);
-
-
The question is now: What is an individual company roadmap session (in contrast to a plain old roadmap)?
- 1
-
Try HWND_BROADCAST instead of Application.Handle
-
The TVirtualImageList can only hold images of one size, which it retrieves from a TImageCollection. That works even if the requested size is not available in the collection. In that case one image is scaled to the requested size.
To have multiple sizes simultaneously you need separate TVirtualImageList instances.If you need only one size, just set the TVirtualImageList to that size.
- 1
-
It has been for a long time that selected beta testers (like f.i. all MVPs and Tech Partners) are invited early to a beta cycle, while users with an active (normal) Update Subscription are invited at a later stage (so they actually are already open to any willing subscriber). Now it seems that having a Premium Update Subscription puts you into the first group, too. Does not look like a big change to the previous system to me. May be they want to put more value into the Premium part, which isn't a bad thing. Nothing is taken away from anyone.
- 2
-
Sorry. Perhaps I misunderstood as I was under the impression that this was the cause of your problem.
-
50 minutes ago, Lars Fosdal said:Option checked. No change.
That doesn't surprise me, as it probably does the same as the new IDE functionality does.
Would it be possible to get hands on such a file with a single CR for testing purposes?
-
2 hours ago, Lars Fosdal said:The compiler warns if there if f.x. only LF instead of CRLF - but how to guard against a lonely CR?
Project Magician has an option for that:
QuoteClean Line Feeds
When opening dpr, dpk, pas or inc files any invalid line feed sequence (like single <CR> or <LF>) will be converted to a proper <CR><LF> sequence. This setting is only available at global level.
MSBuild - set library paths without touching IDE options
in General Help
Posted
Have you actually tried to specify DCC_UnitSearchPath on the MSBuild command?