Jump to content

Olli73

Members
  • Content Count

    31
  • Joined

  • Last visited

Everything posted by Olli73

  1. As local variable it is not initialized, as global it is.
  2. Olli73

    ​LOST DEBUGGER ON EDIT ERROR timeout trigger.

    Which database and components? What are the settings for lockmode, isolation level and so on? In debugger there are shown exceptions by default always. The user (no debugging) will not see it. I think we need more details.
  3. I have no experience with such a setup, but I would try to use "TDSProviderConnection.AfterDisconnect" event to start a timer which tries every second to call a "TDSProviderConnection.Open" until "TDSProviderConnection.connected" is true again. As long as the timer runs you block all actions which load or save data from/to the server.
  4. It is better to use a HTTP-/Rest-Server ... You could easily fill a client dataset on client in this way: On Server you make a Query and then via a provider you load it into a clientdataset. Out of that you can use a command to make XML or JSON of it. That XML/JSON you send (as a result of a get query from client) to the client and with a command you can generate a filled ClientDataSet on Client and work then with that. The other way, to update the database on server, could be a little bit more complex.
  5. Olli73

    D12 TItemClickEvent undeclared identifier

    var ItemClickEvent: TCustomListBox.TItemClickEvent;
  6. Olli73

    Mouse cursor

    I would try another way: Make a dervied class from TWebRowser and make MouseClick (or MouseDown / MouseUp) function(s) public there. Now call this function(s) with your mouse cursor coordinates.
×