Jump to content

Olli73

Members
  • Content Count

    77
  • Joined

  • Last visited

Community Reputation

8 Neutral

Recent Profile Visitors

2420 profile views
  1. Do not use "FreeOnTerminate" and free it in your code after your "waitfor". Alternatively do not use "WaitFor", use the event "OnTerminate" of the thread to proceed your work. This event is called from MainThraed
  2. Olli73

    ISuperObject decimal issue with currency values

    https://github.com/pult/superobject.delphi v1.2 support of currency data type
  3. Olli73

    ISuperObject decimal issue with currency values

    Use latest version and then try O.C['...']
  4. When you want to use the object inside a thread, then you should create it inside the thread - the constructor still runs in the main thread!
  5. From the documentation: Derive a class from TStrings to store and manipulate a list of strings. TStrings contains abstract or, in C++ terminology, pure virtual methods and should not be directly instantiated TStrings does not hold any string, it should be treated as abstract class, you must always inititae a derived class of it, which implements the data (string) storing.
  6. Olli73

    FireDac Uncommitted Transaction on Select Query

    Is Connection.UpdateTransaction set? What is the setting of Connection.TxOptions.StopOptions? "xoIfCmdsInactive" could show your behavior.
  7. Olli73

    TEdit and OnTyping event

    Makes it no difference if you use platform or fmx edit? Other solution: 😉 https://giphy.com/gifs/reactionseditor-reaction-3o7btNRTJ700Vzmn5e
  8. Olli73

    TEdit and OnTyping event

    You could save the content of the edit in a variable and then first check if content has changed. And you could try if it makes a difference when you set the edit to "platform" or not.
  9. Olli73

    TEdit and OnTyping event

    At least I could tell them that the issue is related to Samsung. For the picture issue there were only a workaround (when you had still the pictures on android device): Copying the issued pic to a new empty folder with android file app and then copy this to windows. I by myself avoid Samsung galaxys and recommend other phones to peaple who ask me.
  10. Olli73

    TEdit and OnTyping event

    And the most strange issue I had with Samsung devices, was that when you copied a bulk of pictures to a windows device via USB, some pictures had the content of another picture. And we had links to such pictures in our database and the customer told us we are doing something wrong, showing the wrong pic. Difficult to find the issue...
  11. Olli73

    TEdit and OnTyping event

    In the past, when I had issues with my Android apps, it happned nearly only on some Samsung devices; so I thought already that it is the Samsung keyboard... Samsung can everything, besides software 😉
  12. Olli73

    TEdit and OnTyping event

    Have you tried another keyboard (gboard?) ?
  13. Olli73

    D5-D7 ISAPI vs D12.3 ISAPI

    First you should implement an exception handling and log it, for example: try //Get Command ... except on E: EIdHTTPProtocolException do Log('HTTP Error: ' + E.Message + ' (Code: ' + IntToStr(E.ErrorCode) + ')'); on E: EIdSocketError do Log('Socket Error: ' + E.Message + ' (Code: ' + IntToStr(E.LastError) + ')'); on E: Exception do Log('General Error: ' + E.ClassName + ' - ' + E.Message); end;
  14. Olli73

    Creating a simple image app for Android

    You should not use Delphi XE7 for Android 12. XE7 supports Android <= 4.4. https://docwiki.embarcadero.com/PlatformStatus/en/Main_Page
  15. Olli73

    Alternative for RDP solution

    For us TS Plus works great.
×