Jump to content

Sherlock

Moderators
  • Content Count

    1301
  • Joined

  • Last visited

  • Days Won

    28

Everything posted by Sherlock

  1. Sherlock

    Error insight in Rio

    Well, sadly, for me this is expected behavior, and I switch off Error Insight altogether. It is a CPU-time consuming nuisance which (in serious projects) provides only false positives.
  2. In my humble opinion, perfect (no hints, no warnings) projects can not be taken seriously, especially for testing. For testing you need (near) worst case projects like this. Sometimes it seems perfect projects is all the EMBT people work on, they seem to only work on those demos none of which exceed the 500 loc mark.
  3. Sherlock

    Issue with guided access

    Hard to write a catchy title for this one. Sorry about that. So, here's the problem: I have a monitoring app, that is supposed to run 24/7 on a wired iPad in guided access mode, user interactions are a rare thing, it's about watching a live trace of heart rates and such. This has been working OK for the last couple of months. But recently I have received reports, that the iPads screen turns black after about an hour, and the iPad has to be manually "turned on" again. Then the app is back and everything is OK. This leads to two questions: Is anyone aware of changes in iOS auto lock behavior since iOS 12? Can an app trigger an event to make iOS think there has been user interaction and it should not lock the screen? Thanks
  4. Sherlock

    Issue with guided access

    To answer part 1: It seems to be a known bug https://www.reddit.com/r/iOS12/comments/9ha20y/guided_access_forces_screen_to_autolock/ *sigh*
  5. Sherlock

    New official Embarcadero forums online

    I'll wait for the https version to come up. No need to jump to that forum any time soon anyway.
  6. Sherlock

    New in 10.3: IDE UI Improvements in the Main Window

    As always, there is the easy way and there is the hard way. Incidentally you can also call them the cheap way and the expensive way. And I'm talking short term, that is the only term modern management thinks in (Who cares about long term? I'll be retired by then, or in some other company). It takes no genius to find out which is the easy/cheap way and which is the hard/expensive way, now does it? So I'll be expecting 64Bit long before fixing those other problems, simply because it looks good on a feature matrix. And a good looking feature matrix is what gets customers. So I'll be on EMBTs side for this one, because more customers mean more money which in turn could mean more resources to fix the stuff under the hood. But it's good to keep reminding them of the faults in the tool.
  7. It would seem that by not providing constructors/destructors/assign you would get the "old" behavior.
  8. Awesome, but this sounds ominous. Could you please elaborate?
  9. From a pure linguistic point of view: Where does the need for reintroducing a purely virtual aka non existent thing come from? There seems to be a need for this that is deep in the compiler. Would be a nice research project, or something the experts can explain.
  10. Sherlock

    New in 10.3: IDE UI Improvements in the Main Window

    Tokyo really is quake proof 😉
  11. Not sure about the direction this question is actually heading, but does the structure view help?
  12. Sherlock

    Time bomb

    Now, that would have been some nice information to begin the discussion.
  13. Sherlock

    Change the background color of a TEdit

    But how?
  14. Sherlock

    Change the background color of a TEdit

    There seems to be a tradeoff going on between VCL-flexibility and FMX-platform...ummm...style adaption. I'm pretty sure you might be able to achieve this with the style thingy, but I never quite understood that. Every time I try to use it, it just frustrates me and I end up building quick workarounds like this. Pretty sad. Does anyone have a nice tutorial for the FMX Style Designer?
  15. Sherlock

    Change the background color of a TEdit

    Tried it, and this is what it looks like: To the edit I added this line of code to the OnChangeTracking Event: procedure TForm20.Edit1ChangeTracking(Sender: TObject); begin Rectangle1.Visible := Edit1.Text.Length > 5; end; That's it.
  16. Sherlock

    Change the background color of a TEdit

    Off the top of my head, how about putting a client aligned yellow panel rectangle inside the TEdit, HitTest and TabStop set to False, then set its visibility to whatever you need. Untested idea. Edith adds the need for transparency.
  17. Sherlock

    New in 10.3: IDE UI Improvements in the Main Window

    I'll have to see how it feels, pics look OK though.
  18. Sherlock

    Extracting SQL from Delphi code and DFMs

    I second that!
  19. Sherlock

    We need a Delphi Language Server

    Ok. You almost got me. How is the form designer handled? It is my understanding that most other languages handle layout questions through code entirely. Could it be, that this aspect is underrepresented in LSP?
  20. Sherlock

    We need a Delphi Language Server

    That is my understanding as well. It helps writing code but in the end you still have to compile it with Delphi though. Being a Delphi Developer since Version 5 this would mean quite the change in behavior. I'm used to pressing Ctrl+F9 every now and then, just to check if it still compiles (aka is ready for shipping 😉). This can't be possible with for example Eclipse, or can it?
  21. Sherlock

    Been stupid for years

    I have been waiting for that reply ever since I first used that nick in an other forum back in 2000. 18 years...wow!
  22. Sherlock

    Been stupid for years

    SCNR = Sorry, could not resist https://en.wiktionary.org/wiki/SCNR
  23. Sherlock

    We need a Delphi Language Server

    So basically and very bluntly, it is a way to enable the use of Visual Studio for any language... <Rant>I see there are other editors out there, that support the language server protocol, but apart from Eclipse and Sublime Text they are somewhat cumbersome 😉 Now I could refresh my vim knowledge, but both the Delphi IDE and Pythons IDLE (yes, I know that is not really an IDE but for my needs an purposes it is) and sometimes Nano really are enough for me. I have no intention on spending extra money on yet another editor (apart from Eclipse the free editions seem to not offer LSP support) to gain practically nothing apart from being able to use the same editor for both languages. </Rant> This project is fine and well for those languages that come without an IDE, and they might profit from it immensely. But Delphi has everything built in, and the things missing come through add-ons. But, and I can't stress this enough, I am a low level developer and quite the conservative nay-sayer. I may very well miss the big picture, and for those guys that use 5 different languages on a daily basis, being able to use the same IDE definitely makes LSP a very fine thing. So go for it. Should have led with that...I guess.
×