Jump to content

softtouch

Members
  • Content Count

    170
  • Joined

  • Last visited

Everything posted by softtouch

  1. softtouch

    No timeout in THttpCli?

    Thanks, yes, looks like I have to use a timer or gettickcount or something else then.
  2. softtouch

    No timeout in THttpCli?

    That does not do anything, no timeout or exception or whatever is triggered. Setting the httpcli.timeout works, if I use Get and not GetASynch. Using GetASynch is not triggering anything for me. If I do a Get to this example site: https://www.cars.com I get a timeout which I can catch with try/except/end, using GetASynch, nothing happen, I can wait hours without anything happen. How do I catch the timeout using GetASynch?
  3. softtouch

    ini file not writtable

    @damos: Just create the .ini in the homepath, not inside the mac app bundle. I believe there is no write access, only read access.
  4. I need to prevent that user can add a duplicate key in the valuelisteditor. For that, I set the property keyUnique in KeyOptions. Unfortunately, it trigger an exception, and I cant find a way to catch this exception. There is no event for when a key exist or the exception is triggered. Howe can I catch this so that the program wont terminate due to that exception?
  5. softtouch

    TValueListEditor how to catch exception when key exist?

    @Remy LebeauIndeed, it does not kill the exe, when madexcept is turned off. So that was the problem, because madexcept terminate the exe after showing its exception dialog. I now turned it off and it will just show an error that the value already exist. Thanks for the help!
  6. softtouch

    TValueListEditor how to catch exception when key exist?

    Thanks for that. But the user edit the key in the valuelisteditor grid, Ido not add the key with insertrow or such. There are existing entries, the user select the entry to edit and change it, and when the user leaves the cell (with mouse or keyword/arrow keys for example), the exception is triggered.
  7. When adding a todo text in the source, or in the todo window, it does not appear in the todo window. With 10.x is no problem, just with 11.3. Is it only me or can it be reproduced?
  8. softtouch

    ToDo seems to be broken in 11.3

    It works now for me too, after e restart of the ide.
  9. softtouch

    Skia4Delphi

    Is there a way to convert a svg (its in a tmemorystream) to png (to another tmemorystream)?
  10. softtouch

    Where to turn off 'Whole words' searching?

    Same annoying issue here. Every time I do a search, after starting the IDE, its checked again, even in the registry its false.
  11. softtouch

    Skia4Delphi

    Great, thanks, that was it I was looking for. Another short question: Why cant it encode bmp format and gif?
  12. softtouch

    Skia4Delphi

    How can I get the image forma (jpg, png etc.) of an image stored in a memorystream with skia4delphi?
  13. I cant find a way (or a demo) about how to resample an image with Skia. Does Skia support resampling of images, using various resample filter? What I need to do is loading various image formats, like jpg, tiff, gif, webp, png and so on, resample them to a specific size and save them in a user given target image format. Skia can do all of that, except the resample part so it seems. I cant use any other image library because it need to work also crossplatform.
  14. Correct, I use it since years also in many programs and never had any issue.
  15. I use TIdHTTP to read some websites. The TIdHTTP.get is within a try/except block. I am not able to catch the 2 exceptions: Socket error # 53, Software cause connection abort and Socket error # 61, Connection refused. It does not happen on my machine, but on some client computer. It also does not happen when compiling the program for Windows. All I have is this in the stack trace: Idstack::TIdStack::RaiseLastSocketError() + 62 Idstack::TIdStack::CheckForSocketError(int) + 33 Idstackvclposix::TIdStackVCLPosix::Connect(int, System::UnicodeString, unsigned short, Idglobal::TIdIPVersion) + 233 Idsockethandle::TIdSocketHandle::Connect() + 44 Idiohandlerstack::TIdConnectThread::Execute() + 28 The exception is ok, but why cant I catch this so that the program can show an error and continue running instead of just crashing? The call to TIdHTTP.get is in try/except similar this: id:=TIdHttp.create(nil); try val:=id.get(url); except on e: Exception do begin end; end; id.free;
  16. softtouch

    Delphi 11.3 is available now!

    Thats it! It works now! Thanks.
  17. softtouch

    Delphi 11.3 is available now!

    Should the 11.3 be compatible to macos sdk 13.1? I at least cant use that sdk, I get [dccosx64 Error] E2597 ld: file not found: /System/Library/PrivateFrameworks/AVFCapture.framework/Versions/A/AVFCapture for architecture x86_64 but it compiles and links fine with the 11.1 sdk
  18. softtouch

    Delphi 11.3 is available now!

    Thanks, so I am not alone with that.
  19. softtouch

    Delphi 11.3 is available now!

    With Windows 11 and Delphi dpi aware? I can reproduce that every time I want.
  20. softtouch

    Delphi 11.3 is available now!

    Why would I buy a new monitor? I have a 43" 4K monitor, which is new.
  21. softtouch

    Delphi 11.3 is available now!

    I tried that already, to no avail. But what works for now is to move all the toolbars to the main menu line.
  22. softtouch

    Delphi 11.3 is available now!

    I already did. But that wont help me now. I guess I have to go back to 11.2 for now.
  23. softtouch

    Delphi 11.3 is available now!

    DPI aware. With dpi unaware, they stay where they should be.
  24. softtouch

    Delphi 11.3 is available now!

    My toolbar problems (see 3 posts above) appear to exist only with a monitor scaling between 124% and 130%. Below or above its ok. Any suggestion hos this can be patched? Makes working a little hard.
  25. softtouch

    Delphi 11.3 is available now!

    Delphi 11.3 always rearrange its toolbars with every start. The first attached image shows how it should look after I move them to their positions, the second image shows what Delphi 11.3 makes out of it. With every restart of the IDE, I have to rearrange the top toolbars 😞 I am using a 4K monitor with a scaling of 125%. When I use Delphi DPI unaware, it stays always the same, when I use a monitor scaling of 100%, it always stays the same, but when I use a monitor scaling of 125% on my 4K display, it rearrange the toolbars. That did not happen in any version below 11.3 (11.0, 11.1, 11.2).
×