Jump to content

corneliusdavid

Members
  • Content Count

    627
  • Joined

  • Last visited

  • Days Won

    11

Everything posted by corneliusdavid

  1. corneliusdavid

    How to run Interbase developer in 10.4 and 11

    However, I should ask why you would need two instances of the same version of InterBase running on the same machine--and likely using the same license... Why not just use the existing installed IB from both versions of Delphi?
  2. corneliusdavid

    How to run Interbase developer in 10.4 and 11

    Reinstall one of them to use a different port and instance name. Then when you add a connection specify which port to connect.
  3. Cool! Does removing some packages speed up loading of Delphi? Do the descriptions show up anywhere else other than the Windows Registry?
  4. corneliusdavid

    Is it possible to see Git current working branch in IDE?

    I don't think your original question was ever answered--lots of other information, though. To answer your question, No, the Delphi IDE does not show the current Git branch, only recent commits. It has a nice difference viewer that augments the History pane of the editor but that's it; it uses the current branch of the repository folder.
  5. corneliusdavid

    TListView OnItemClick problems

    I've got a very simple cross-platform app with a TListView on the main form and when you click on an item, it should fire an event which takes the user to the next tab and displays details about the item that was clicked. I want to use OnItemClick so that it updates the current record of a memory table it's hooked to via LiveBindings. For the Windows platforms, this works perfectly as expected. On iOS, there is no OnItemClick event fired. On Mac, I can use the arrow key, then the space bar to activate it but not the mouse. I tried this a couple of days ago with Delphi 10.4.2, found a reported issue that was supposedly fixed in 10.4.1 (I can't find the issue now), and just tried it again today in Delphi 11 but I still have the same problem. Does TListView's click events behave differently on mobile devices? Is there a separate event I can use if I want to use the Accessory Button instead? I've found lots of information to configure viewing data in a TListView but not much in responding to events. Any clues would be most appreciated.
  6. Thanks for sharing your troubles--it'll come up in a search someday, I'm sure!
  7. corneliusdavid

    Android 11 Support in 10.4.2?

    No, the SDK (Software Development Kit) contains tools to support various APIs (Application Programming Interface). The one that comes with Delphi 11 generates Android apps that run on my Google Pixel running Android 11 (API 30).
  8. corneliusdavid

    TListView OnItemClick problems

    True, but digging through the sub-properties to get what I want is so much more work than simply grabbing the value from the memory table to which it's attached. There might be times when this is necessary but I'd much rather use LiveBindings get the original value from the table. By the way, the working project is on GitHub under the name, AppPaths.
  9. corneliusdavid

    Interbase Trigger

    Can you show the table structure or at least the INSERT statement that would trigger this? I suspect it might have to do with New.ITEMNO as that's filtering out the records for which the UPDATE statement would work with.
  10. corneliusdavid

    TListView OnItemClick problems

    I checked the difference in my form and no properties changed from what works now and what didn't the other day. I'm wondering if simply changing a property, compiling, then changing it back activated something in the compilation that should've been enabled in the first place. I've seen this once before in a different component (I don't remember which). I still want to learn more about the sub-properties of the TListItemDrawable item returned in the OnItemClickEx event but for now, ItemClick is working--and simpler to use.
  11. corneliusdavid

    TListView OnItemClick problems

    I tried OnTap but it doesn't indicate which item was clicked. I was playing around and enabled a property that got OnItemClick to work on Mac/iOS! Tomorrow, I'll have to go back carefully and hunt down which property did the trick.
  12. corneliusdavid

    TListView OnItemClick problems

    Thanks for this suggestion. There is an ItemClickEx event I can hook into that does work the same on all platforms and gives me the ItemIndex to the list view items. I guess I need to figure out how to get at the properties of the item. It's not a simple Text field but a variable list of objects and object types. I was hoping to be able to use something simpler.
  13. corneliusdavid

    10.4.2 Installer in GetIt

    It let's you download and start the install but you don't get very far into the installation before it asks for your license key. Once it determines you're not licensed for that version, it halts the upgrade process, then you're left to reinstall the previous version since the first step of installing an upgrade is to uninstall the current version. So yeah, if you know you're not licensed for the new version, don't try as you'll just waste a bunch of time. 😕
  14. corneliusdavid

    10.4.2 Installer in GetIt

    This is a generic title, visible to everyone. Basically, it should be read "Included with your Update Subscription if your subscription is up-to-date". GetIt is not checking to see whether you have an active subscription or not.
  15. corneliusdavid

    RAD Server change password for user

    I was just browsing through this forum and noticed that no one ever answered your question--at least not here. Have you tried looking at the source to RSConsole? It's a FireMonkey app in the source\data\ems\rsconsole folder.
  16. corneliusdavid

    json string to FD MemTable

    You want to copy from the Request to a table? Wouldn't load the Request, call a web service, then copy from the Response to the table? I'm not completely sure what you're doing but I've been working with REST services in Delphi 10.4 and find that hooking up a TRESTResponseDataSetAdapter to both the TRESTResponse and a TFDMemTable does all the work of parsing a JSON response string into a memory table for me--no code!
  17. corneliusdavid

    Replace default code template?

    Why not simply use one of the oldest features of Delphi, The Object Repository? Not only can you store a pre-designed Form Template for reuse but you can create an application and store the whole application as a Project Template. In your case, the project would simply be a single-file .DPR. Here's an old YouTube Video that explains how to use the Object Repository--the latter half demonstrates project templates.
  18. I've been using a small InterBase database for testing and learning purposes while doing some mobile and web development. I work on a Windows 10 machine and have a Windows 2016 Server, both with InterBase 2020 installed. My Windows 10 development machine has Delphi and I use the developer license for InterBase. I'm also playing around with RAD Server and have gotten a small module working in RAD Server on my development machine. I'm using my one production RAD Server license on my Windows server which requires encrypted databases. I finally found the reference on how to encrypt an InterBase database and want to copy this database over to the server so I can test it out on a simulated real-world environment. I created a backup of the database and copied the .ibk file over but using gbak with -sep and -eua_u and -eua_p parameters to specify the System Encryption Password and embedded user authentication is giving me this: When I encrypted the database, it had asked for the System Encryption Password and a Backup Encryption Password. I entered the same for both and it allowed it to be saved and encrypted. I also checked the box to not tie the SEP to the hardware. So why isn't this working? How can I develop an encrypted database on one machine and copy it to another when it's ready for deployment? Does the SEP have to match exactly on both machines? If so, I'll have to find another way to get the data over because I have no idea what the SEP is that RAD Server uses.
  19. corneliusdavid

    Logging from RAD Server

    I'm fairly new to RAD Server and while I have a small module working, pulling data from a database, I'd like to be able to do some logging. Sure, I can create another endpoint and dump stuff in a JSON result, but that's not really behind-the-scenes logging. And yes, I could create a log table and insert records in there. But there's an intriguing class in the EMS namespace called TEMSLoggingService. I can't find any documentation or examples that explain what this is for or how to use it. Anyone have any wisdom on this to share?
  20. corneliusdavid

    Logging from RAD Server

    This is perfect--exactly what I was looking for! Thank you! I'll have to spend some time checking out your THSLoggerRADServerDebugTargetQueue class. That looks like it could useful as well. Thanks again!
  21. corneliusdavid

    Logging from RAD Server

    I looked in DocWiki but could not find it. This is a start, albeit not much more than viewing the source. Thanks for the link!
  22. corneliusdavid

    How to enter a float (currency) in TrzDBNumeric??

    Haha! It's caught me once or twice, as well. 🙂
  23. corneliusdavid

    allow cut & paste of numbers only..

    That's what I thought. LOL!
  24. corneliusdavid

    allow cut & paste of numbers only..

    Use TRzDBNumericEdit to save yourself some time.
  25. corneliusdavid

    How to enter a float (currency) in TrzDBNumeric??

    Uncheck IntegersOnly in the Object Inspector.
×