Jump to content

Larry Hengen

  • Content Count

  • Joined

  • Last visited

Community Reputation

25 Excellent

Recent Profile Visitors

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

  1. Larry Hengen

    Thinfinity VirtualUI - cloud-based conversion

    I downloaded and tried a development version and it was as advertised. I think I had to change 1 line of code and voila....a browser based version. That said, if you do some things like host an ActiveX, or WPF control in your app then it's not quite so straightforward. For a smaller application it is certainly a solution that beats redevelopment as a web app. I don't think hosting a large app is a good long term solution due to the server resources required, but it's certainly worth some investigation.
  2. Larry Hengen

    Printing Multiple Charts that Span Pages

    Thanks for the feedback. I would probably opt for Gnostice PDF Toolkit rather than using ReportBuilder with Gnostice's ppDevice implementations because if there is any issue one vendor might just point the finger at the other and it makes it more difficult to isolate the cause.
  3. Larry Hengen

    Printing Multiple Charts that Span Pages

    @Geowink, I actually bought RAVE at BorCon back in the day, but abandoned using it around the time they were no longer bundled with Delphi and support dried up. I didn't know they were still in business, but that experience kind of soured me on them. I was looking at Gnostice PDF Toolkit as a potential solution. @Attila Kovacs Interesting component suite.I can see that being a great solution for server side web projects.
  4. Larry Hengen

    Printing Multiple Charts that Span Pages

    I also had issue in the past using different ppDevices to render PDF. The PDF text and images were sometimes blurry. Any advice hot to address that?
  5. Larry Hengen

    Printing Multiple Charts that Span Pages

    I am currently not using a reporting tool but I have used ReportBuilder in the past. It is one of my more favorite report writing tools, but I was not aware that it would provide the functionality I desire for this use case. Do you use it to print an image of the chart? If that is the case then would you not still have to determine the image resolution to use, and where to segment it so it would fit on a page with the legend?
  6. Anyone ever printed charts that are segmented to fit each page with a legend? Client wants PDF output with multiple graphs vertically on the page with a user defined horizontal extent (ie: 50 metres) of each graph appearing on each page with a legend beside it. Not quite the same problem as just printing an oversize image. Any recommendations on approach or tools for Delphi?
  7. Larry Hengen

    InterBase or Firebird?

    I would only use SQLLite for smaller mobile projects. I have found that Firebird 3.04 performance is much better than SQLLite on my laptop and it has a richer set of data types and more features.
  8. Larry Hengen

    Changes in Parallel Library

    I agree with that assessment. I would use the OmniThread Library before the PPL or roll my own threads.
  9. Larry Hengen

    How best to update from 10.3.1 to 10.3.2?

    The answers to your questions would be 'ask Embarcadero', and 'Embarcadero'. It is really pointless to ask such questions here. I have advocated for an in-place upgrade mechanism for a long time now. The response I received from Marco IIRC, is that it was under consideration but was a very complex issue to address because the product is so big and involves third party components. There are lots of similar products that have AutoUpdate functionality so I don't think this is an insurmountable problem, but EMBT has other more important issues to deal with such as keeping the frameworks and compiler tool chains up to date with an accelerating pace of change on all the supported platforms. They didn't have time to bring FMX to Linux, so they acquired it from KSDev. As with any 25+ year old product, there is also technical debt to address.
  10. Larry Hengen

    Left Click Does not Focus Control

    Thanks for the answer. It's always nice to know why. Actually the Caption bar is one of the things I liked about using embedded forms, that and the OnCreate/OnClose events. I have switched things to use TFrame descendants, which works reasonably well, but I had to introduce my own caption bar and deal with the lack of the events I mentioned.
  11. Thanks all for the replies! I tried it out and it certainly beats copy/pasting from the interface. This feature has been unknown to me until now. I wish I had asked earlier. Is there a similar way to implement an event handler when you don't know what the declaration is? I usually end up drilling into, or using GExperts to search through, the vendor source code (if I have it). Sometimes I have to write down the handler definition given by code insight, and then code the handler manually. I assume there is probably a better way?
  12. Please forgive the question if it's seems obvious. I have always Implemented an interface in a new class the hard way in Delphi by copying the interface members from the interface into the class and using class completion to generate the methods. Is there a way to do so in the Delphi IDE without such a manual brute force technique? I don't see anything in the Refactor menu and invoking Class Completion on a class with an unimplemented interface does nothing. Is this only possible through a third party IDE add-in like MMX? I would think that in the age of interface based development, making it easy to define and implement interfaces would be a well supported use case within the IDE, so I am assuming I just don't know of it. It's a snap in Visual Studio.
  13. Larry Hengen

    Left Click Does not Focus Control

    Of course you are right. Thanks for the suggestion.
  14. 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?
  15. 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.