

FredS
Members-
Content Count
429 -
Joined
-
Last visited
-
Days Won
4
Everything posted by FredS
-
Use ldap_search_sW
-
Use the ldap_bind_sW function (winldap.h)
-
Parnassus Bookmarks for Delphi 11 Alexandria?
FredS replied to PeterPanettone's topic in Delphi IDE and APIs
Sure, sometimes I use Notepad++ bookmarks and its Editor.. π -
IMO its best to stay away from those, still at least one open bug report RSP-17558, this one is the worst and nearly 5 years old: RSP-14723.
-
Several F2084 Internal Error on Delphi 10.4.2
FredS replied to Davide Angeli's topic in Delphi IDE and APIs
Or when you start using some of the IDE features meant to help you manage large projects.. -
DPI Awareness, tForm.CurrentPPI and PixelsPerInch not always identical !!???
FredS replied to A.M. Hoornweg's topic in VCL
I just type garbage for the first two now, then try and read that idiotic picture on the third one.. -
RSP-35486 TRttiField.SetValue breaks past bevaviour with Null and String
-
Async await with blocking mode using Application.ProcessMessage(var Msg: TMsg)
FredS replied to Nasreddine's topic in VCL
Not if you you code it to respond to the Classes.SyncEvent : https://stackoverflow.com/a/61022449 I use both, in one case I have many threads collecting data and triggering updates to a form while getting ready to launch another Task I don't want to pause the updates so a call gets wrapped in an Async which uses the trick above.. but I try to only do that for single calls that are guaranteed to take a short time. -
Async await with blocking mode using Application.ProcessMessage(var Msg: TMsg)
FredS replied to Nasreddine's topic in VCL
This scenario doesn't sound like it needs Async at all. Start a thread with an OnTerminate Event Disable all user input and show a busy signal When the thread completes the event fires and all reverts back to normal For the few cases that Async is needed there is `MsgWaitForMultipleObjects`.. -
Parnassus Bookmarks for Delphi 11 Alexandria?
FredS replied to PeterPanettone's topic in Delphi IDE and APIs
Notepad++ next π -
How to get ThisFormClass (TForm1) from Form1
FredS replied to Qasim Shahzad's topic in Algorithms, Data Structures and Class Design
Nearly all forms I show modal return a result. At the most basic level all these forms are inherited from one base form which has this code: class function TBaseDialogForm.ShowDialog(AOwner: TComponent): Boolean; begin with Create(AOwner) do try Result := ShowModal = mrOK; finally Free; end; end; class function ShowDialog(AOwner: TComponent): Boolean; virtual;- 20 replies
-
- form creation
- refactoring
-
(and 3 more)
Tagged with:
-
Maybe looking for a third MVP to help out π
-
Parnassus Bookmarks for Delphi 11 Alexandria?
FredS replied to PeterPanettone's topic in Delphi IDE and APIs
To paraphrase a post; it now takes two MVPs to update a plug-in for D11 HighDPI.. -
Thoughts on using begin end merely to limit inline var scope.
FredS replied to MarkShark's topic in RTL and Delphi Object Pascal
Sure, its only been what.. well under a decade π -
Explains some complaints I've heard..
-
Always loved Flamerobin, one of the best functions in Flamerobin is their quick way to 'Generate rebuild script'..
-
I also ran a couple of tests and it made no diff; Zero, GetDesktopHandle, GetActiveWindow, Application.Handle and Mainform.handle all appeared as normal.
-
RAD Studio 11 Alexandria Patch 1 Available
FredS replied to Uwe Raabe's topic in Tips / Blogs / Tutorials / Videos
Be happy with what you've got π -
My point was that your user can disable it which is why it may show up as you first described. Secondly, if an option can be set it can be read, that way at least you would be able to alert the user that such a thing might occur..
-
I wouldn't go as far as that but certainly there have been plenty of high end components where the source didn't compile. This tells me that few or none do this anymore.. used to be the norm..
-
Which implementation of this is easier to understand?
FredS replied to dummzeuch's topic in Algorithms, Data Structures and Class Design
This setup works for me: -
Or offer a Community Edition first? The only problem with that would be that would increase the reported bug count dramatically..
-
Which implementation of this is easier to understand?
FredS replied to dummzeuch's topic in Algorithms, Data Structures and Class Design
Stopped that after the 'Flow control Highlights' became available, at least in IDEs that support it. -
Its a bad feature: Disable Full-Screen Windows 10 User Account Control (UAC) Prompts On Your PC, Hereβs How