-
Content Count
1212 -
Joined
-
Last visited
-
Days Won
25
Everything posted by Sherlock
-
I'm guessing you write about structural highlighting. The link to the manual should clarify. On second thought, you might have 3rd party tools like CnPack installed. That has such an option as well.
-
Code completion not supplying variable names
Sherlock replied to Tom F's topic in Delphi IDE and APIs
The really fine manual states this behavior as being as expected. -
Check what is entered in the field labeled "né". This can not be converted to a date. I'm guessing that is a TMaskEdit. You should only try to convert its contents, when it is filled with data. By the way, this applies to all other date fields...and perhaps even more.
-
OK you'll need: uses FMX.Types, FMX.BehaviourManager, FMX.Platform; And even if you only develop for yourself, you should consider different DPI and scaling in your application because you might treat yourself to a monitor with higher resolution at some point.
-
Have you tried your code on Windows set to 150% or any other scale? You need to find out, what the DisplayMetrics are and react accordingly. I use something like this if TBehaviorServices.Current.SupportsBehaviorService(IDeviceBehavior, DeviceBehavior, Context) then begin DisplayMetrics := DeviceBehavior.GetDisplayMetrics(Context); Scale := DisplayMetrics.ScreenScale; ppi := DisplayMetrics.PixelsPerInch; end else ShowMessage('Help?!');
-
I'm afraid that is a waste of time. It's not just the SDK that is needed here. Code signing by a specific XCode release is checked by Apple as well.
-
If you only need the mac sporadically or for barely more than XCode code signing consider a service like macincloud.com
-
MacOS: How to remove ambiguous Developer ID certificates?
Sherlock replied to Alexander Halser's topic in Cross-platform
Strange. You probably should contact Apple about that. -
Microsoft used to offer outdated OSes such as XP in virtual machines to test websites on different IE versions. Seems these VMs are gone though...you could try archive.org however.
-
FreeAndNil() - The Great Delphi Developer Debate
Sherlock replied to AlexBelo's topic in Tips / Blogs / Tutorials / Videos
So, to wrap it up: Be a genius and have your decades old application rely on an object being available at all times. Or just double check to make sure. The penalty for that is being frowned upon by the real geniuses...or not. -
Non-Visual Component Caption Color / Transparency IDE
Sherlock replied to MJBComp's topic in Delphi IDE and APIs
@Stano, please try to post in English. For the time being I have inserted a google translation into your post. Feel free to enhance it. -
2022 StackOverflow dev survey - salary results
Sherlock replied to Darian Miller's topic in Tips / Blogs / Tutorials / Videos
Please don't forget India... there is a (mostly monetary) reason why management considers outsourcing a good idea. -
I would suggest to look up TryStrToInt. But that is just the beginning. What happens if you add 1 to 999.9999? Are there rules for those grouping dots? If the dots are always at the same place you could remove them before conversion and put them back in after your math and reconversion to string.
-
2022 StackOverflow dev survey - salary results
Sherlock replied to Darian Miller's topic in Tips / Blogs / Tutorials / Videos
Unemployably expensive? 🤪 -
In Python a \n usually does the trick. As per your example: caption = 'First line \n second line' Note that there is no need to concatenate the string.
-
MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips
Sherlock replied to PeterPanettone's topic in General Help
I just patched it... -
MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips
Sherlock replied to PeterPanettone's topic in General Help
Here's a different link: https://pacmanattack.com/ -
And the OS may interject as well, asking the user to verify that it may execute this downloaded file.
-
All you need to do is calculate the correct size. No biggie.
-
Partial Serial Number Verification System in Firemonkey
Sherlock replied to ParodiusX's topic in FMX
Well, what are your problems? Any error message would be appreciated. Apart from that, have you tried your FMX build on the same Windows machine? Was it built with the same "bitness" (32-Bit or 64-Bit)? -
Side note: Considering the DBEdit in question is the 85th of its kind, and remembering the low scalability of LiveBindings I find that highly improbable.
-
Seriously, at this time all alarm bells should be going off, when entering the MIDA Converter site: No Certificate, no Imprint, last forum entry was April 2019. This is no place to buy anything from right now. Try to get your bank to cancel the money transfer.
-
Rounded polygon
Sherlock replied to A.M. Hoornweg's topic in Algorithms, Data Structures and Class Design
Ok, so the points need to be hit, but the lines in between may be rounded. That might not be covered by splines to well. 😞 Well strike that, of course the Points will be hit. It is "just" a matter of choosing the controlpoints well to get a decent shape. But therein lies the rub I guess. -
Rounded polygon
Sherlock replied to A.M. Hoornweg's topic in Algorithms, Data Structures and Class Design
From the Bézier curve you'll eventually have to move on to (Bézier) splines to get from a polygon to a bezigon. And not sure about VCL, but FMX has some Bézier procedures. Edith says: Naturally VCL has it, because MS has it: https://docwiki.embarcadero.com/Libraries/Sydney/en/Vcl.Graphics.TCanvas.PolyBezier -
The FireMonkey Low Code App Wizard has problem on Delphi 11.1
Sherlock replied to RP286's topic in RTL and Delphi Object Pascal
Since this is code generated by the IDE, you should create a call for this right here https://quality.embarcadero.com/login.jsp. They just might be unaware that this error occurs. Edith says: Have not been able to log in right away, but there already is a call open for this: https://quality.embarcadero.com/browse/RSP-37338