Jump to content

Larry Hengen

Members
  • Content Count

    30
  • Joined

  • Last visited

Community Reputation

19 Good

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Larry Hengen

    Left Click Does not Focus Control

    I have a TForm descendant that contains a scrollbox, and the form is nested within two panels on the main form of my application. It displays values in a manner similar to the object inspector, and the user needs to be able to edit the values. For some reason, I cannot focus the TLabeledEdit controls using the mouse left button click. Right clicking on the control works and selects all text in the TEdit, but left click does not. I see that a WM_SETFOCUS message is sent, but false is returned. Before I start digging into the the VCL's message handling, I was wondering if anyone might know the cause of such behaviour, or have suggestions on how to best track it down. I just converted the "inspector" form to a TFrame. In doing so I loose some functionality like the ability to close the form, but I can now focus the edit control using the left mouse button, and I also get a right click local menu for the editor. Is there anyway to make the embedded form behave in the same way as the frame with respect to embedded controls?
  2. I just noticed in Rio 10.3.2 that the TFDSQLScript SQL editor has the Code Editor button in the String List Editor disabled. I popped up the help and there does not seem to be a reason for this. The SQL property is of type TSrings in the Inpsector and the actual implementation uses TFDStringList just the same as the connection Params ancestor class in which you can use the Code Editor. Is this a case of a missing property editor registration? It would be very nice to be able to use the Code Editor to modify scripts instead of cop[y/pasting from an external editor.
  3. Larry Hengen

    Rules for changing cursor to HourGlass and back

    I have also been using a variant of code from Jeroen W. Pluimers website. I have incorporated it into the hcOPF project and added support for FMX. The code credit contains the original blog post. hcTemporaryCursor.pas
  4. Larry Hengen

    Using Delphi in Virtual machine for a month

    I have used Delphi in a VM (VMWare Fusion) starting about 10 years ago. I bought Fusion for my Mac Pro (an old 2.2Ghz Core2Duo). Initially I had VMs on my laptop HD, but moved them to an external SSD drive formatted as HFS+. I purchased Paragon's HFS+ support for Windows and shared the VM drive between my Mac Pro Laptop and my PC Desktop. It worked pretty well, but I had to abandon it for one contract as soon as I started using the RAW Input API as that is not supported under VMWare. I then bought an 3.0 Ghz AMD 6 core Win7 64 bit desktop and it screamed using XE2! Still one of the fastest machines I have ever used Delphi on. I used to use VMWare Fusion on my Mac Pro laptop until it died and I replaced it with a Mac Mini which is a little under powered for VMs. Now I am using Ubuntu on my laptop (an old Toshiba Satellite L70-D) 4 core machine with 8Gb RAM, an SSD for the OS and a fast, large HD for the VirtualBox VMs. Performance of 10.3.2 is good. The re-drawing was painful with 10.3.1. I am thinking about putting Ubuntu on my main desktop as well. More cores and much more memory. I am also no longer using VMWare, instead using VirtualBox 6 which seems pretty stable and performant. I use the Host OS for Internet access (FireFox) and share folders from the host for code so I can switch VMs and still compile the same source. This works well to experiment with Betas and other VM configurations, while not confusing things by having source code in each VM, potentially in a different location. You can of course have VMs for specific clients so one Delphi configuration does not conflict with another. The only issue I have had to date is an occasional "lockup" where the VBox VM and the Ubuntu host machine have become unresponsive to the point I have had to power off my laptop. I didn't have any data loss, and I think I narrowed this down to FireFox chewing all the RAM/CPU at some point. Now I only have FireFox running when I need to, and have not had such a situation for a long time. I am even considering switching to Chrome. For me the flexibility of using VMs far outweighs the performance penalties.
  5. Could this be your solution?
  6. According to his LinkedIn profile (https://www.linkedin.com/in/miswindell/) he went from product marketing (3 years) to product management (remaining 8 years) at Borland. Then 8 years of Product Management at EMBT and is now a consultant. It almost sounds like he could have been the reason for Borland/EMBT's crappy marketing and therefore single handedly could have caused their decline while he rose in the ranks. Perhaps he is the ONLY one who doesn't understand marketing...
  7. Larry Hengen

    Android Log Capture

    Thanks all for the suggestions. I am surprised one of these solutions has not been purchased or incorporated into the product by EMBT.
  8. Larry Hengen

    Android Log Capture

    Please excuse the noob question as I'm sure it has been answered before, my google fu is just failing me. Does the IDE have the ability to capture ADB logs in a window? I have stumbled across a few external utilities to do so, one from an MVP in Japan and one from Kim Madsen but neither one seems to work with Rio. The first one won't detect the attached device, and the second one throws an immediate error upon launch. Using Android Studio for logcat is major overkill, and chews up all my resources. Seems to me this is a pretty reasonable expectation of an IDE for a development target. Any suggestions on working lightweight solutions? I am using Rio 10.3.1
  9. Larry Hengen

    Anyone using Epina SDL Library?

    I am working on a project that was originally started using the Epina SDL Library TRChart component. I am having few issues with the component so I am wondering if anyone else is using it and can provide some tips. The library seems fast and well written, but I don't want to have to debug their source code to figure out how to use it. Anyone with experience using SDL? Any recommendations for another charting library? I would love something like ZedGraph for Delphi.
  10. Larry Hengen

    is FGX native still around?

    Contacted Yaroslav and he confirms beta should be this summer/autumn.
  11. If this is true (and I have no reason to believe it is not), I would predict more piracy and illegitimate use of the community edition in EMBT's future as well as a downward trend in their customer base. A lawsuit is also a possibility IMHO.
  12. Larry Hengen

    Jumping to methods via procedure list does not expand region

    I maintain one on SourceForge and have several small Repos on GitHub and I do speak for only myself. I can understand your viewpoint that anyone who cares about quality will accept a report from anywhere, but I feel that taking the time to report a bug shows a commitment on your part as a developer to quality. It works both ways....the receiving developer and submitting developer should be bound by the same commitment to quality, otherwise all you're advocating is hypocrisy. End users are another story, and it's a choice as to whether or not you want to chase down bugs reported on any medium depending on the quality of the information.
  13. Larry Hengen

    Jumping to methods via procedure list does not expand region

    I beg to differ. If you already have time limitations (who doesn't) and are supporting an open source effort that benefits the community, adding the requirement that you collect, properly interpret, and enter bug reports on behalf of people already benefiting from your efforts is not only inconsiderate, but substantially reduces the time you have to fix the bugs. Getting complete bug reports that are reproducible can be a challenge at the best of times so it requires a more structured approach to get the necessary information. Requiring the user invest some time in providing a bug report reduces the number of unreproducible bugs, and ensures the reporter has some skin in the game in terms of getting a fix. Heck, I don't even like it that EMBT doesn't have automatic bug report submissions to QP from the IDE when it throws and exception!
  14. Larry Hengen

    Jumping to methods via procedure list does not expand region

    That is like me saying I won't create a BitBucket account to file a report for Spring4D. How would you feel if people won't take the 2 minutes to sign up and file a report?
  15. Larry Hengen

    screen shot - reliable method

    The TForm method GetFormImage might be what you are looking for.
×