-
Content Count
3298 -
Joined
-
Last visited
-
Days Won
110
Everything posted by Lars Fosdal
-
@corneliusdavid I replaced shortest with most readable years ago. 😛
-
Result := MyString StartPos := Pos('<', Result); if StartPos > 0 then Delete(Result, StartPos, Pos('>', Result) - StartPos + 1); Something like this? Note that it doesn't handle a missing '>', nor does it trim.
-
Featurewise - how does Peganza Pascal Expert hold up to TMS FixInsight?
-
Two and a half year later... I still want the above.
-
Skia Print Preview and Print in Delphi 12?
Lars Fosdal replied to PeterPanettone's topic in RTL and Delphi Object Pascal
Perusing the source code, it appears that a Print capability is supported. Regular FMX doesn't have print preview, so I doubt there is SKIA support for that. -
I bet that many of those will also recognize the western calendar years. Brgds, a Wood Dragon.
-
Ref, next major version of Delphi... Triskaidekaphobia IS to be trifled with 😛 I do wish more companies would simply adopt a calendar centric version. RAD Studio <year>.<release>.<patch>.<build> I also wish that the minor releases could be installed in parallel!
-
Delphi 12: The Install Packages window still has no Filter box
Lars Fosdal replied to PeterPanettone's topic in Delphi IDE and APIs
I don't use packages except those that exist by default compile time, so I haven't really seen it as a massive problem, but yes - any list that needs a scrollbar, probably also needs a filter. -
Not to forget, FMX+SKIA+LOTTIE files.
-
Bringing the IDE automatically to the foreground?
Lars Fosdal replied to PeterPanettone's topic in Delphi IDE and APIs
What drives me nuts, is the UACs that flashes the icon but doesn't bring the window to front. There are Windows settings that can affect the bring to front behaviour. Also, Windows drivers and layout management tools can affect the behaviour. -
Delphi 12: The Install Packages window still has no Filter box
Lars Fosdal replied to PeterPanettone's topic in Delphi IDE and APIs
It has no filter box as far as I can tell. -
How do I get a Pointer to a generic type ?
Lars Fosdal replied to dormky's topic in Algorithms, Data Structures and Class Design
Please make a complete compilable executable example. The listed code does not illustrate proper generic references. It is not clear what you are trying to achieve, it being manipulating an input value or an internal value, nor what value you are trying to modify. If you are using pointer references to modify values, your code isn´t really generic anymore. -
Delphi 12: The Install Packages window still has no Filter box
Lars Fosdal replied to PeterPanettone's topic in Delphi IDE and APIs
Have you filed a feature request in QualityPortal? -
Any delphi components for VNC or RemoteDesktop?
Lars Fosdal replied to ChrisChuah's topic in General Help
Is the Delphi app 64-bit? -
That's terrible.
-
AFAIK, it is a C++ only issue.
-
TBH, I've never used the formatter, except a couple of times by accident - which quickly was undone. I do have a somewhat unconventional formatting, but given that the team has adopted it as well - I'd say it works.
-
Windows Arm is still not ready. It is still in the cook.
Lars Fosdal replied to Juan C.Cilleruelo's topic in Windows API
11.3 works well on WfW for ARM under Parallells on my MBP M1 Pro. -
Windows Arm is still not ready. It is still in the cook.
Lars Fosdal replied to Juan C.Cilleruelo's topic in Windows API
Ctrl+Shift+V = paste as plain text. -
Got message 'HTTP/1.1 401 Unauthorized' when tried to access user profile (https://graph.microsoft.com/v1.0/me)
Lars Fosdal replied to Officeapi's topic in Network, Cloud and Web
https://www.charlesproxy.com/ is invaluable for debugging authentication sequences, well, technically any kind of web request. I've used it to find the difference between a working OAuth2 authentication .NET app, and a non-working Delphi app and solve the Delphi problem. -
Those are not hacks - but techniques. I try to avoid blocking the window thread when updating the contents, so I usually spin off queries and calculations in a biz.object. I have a TriggerContentUpdate method that fetches/checks that I have the params I need, sets up the thread and starts it. When the thread completes, it triggers a Window redraw which checks if there is data to update from in the biz object, otherwise painting a "No data" or "Processing..." message.. TriggerContentUpdate can then be called from Form.AfterShow, or whenever the parameter data changes, or by timer for automated refresh.
-
For me, the fastest blur is created by taking off my glasses...
-
On Windows, there is the concepts of file type associations, URL handlers, etc. On Android, you must use intents. MacOS and iOS also has intents, but I don't know if FMX support them? Linux - not sure.
-
Win32, Win64, WinRT and now... WinARM ?????
Lars Fosdal replied to Juan C.Cilleruelo's topic in Windows API
From what I read, the 32-bit version of Matlab has issues under W11ARM, while the 64-bit supposedly works. IMO - making a general statement that 32-bit and 64-bit intel apps doesn't work on ARM, is a far cry away from specifying some specific apps that don't work.