Jump to content

Dave Craggs

Members
  • Content Count

    105
  • Joined

  • Last visited

Everything posted by Dave Craggs

  1. Dave Craggs

    Copy name

    Hi, MMX has these options Would be nice if there was an option Copy fullname and unit. Keep up the good work. Dave Craggs
  2. Dave Craggs

    Fastreports

    Hi, I am currently using FastReports VCL 5 that comes with Delphi 10.3. Anyone know how much better the paid for version is? Thanks Dave Craggs
  3. Dave Craggs

    Fastreports

    Thanks. Do you use FastReports?
  4. Dave Craggs

    XML Read CDATA

    Hi, Howe do I read the text part of a CDATA not in an XML file? am using TXMLDocument then finding a node, (IXMLNode), but both node.,text and node,textvalue return the full CDATA string. Am using Delphi 10.3. Am doing a work around to remove the CDATA stuff, but I would have though there should be a simple way of getting this text. Dave Craggs
  5. Dave Craggs

    Forms showing on multiple desktops

    Hi I have a VCL application. Some of the forms stay visible when switching between windows desktops. The main form doesn't. Couldn't see an obvious property causing ths. Any ideas?
  6. Dave Craggs

    Forms showing on multiple desktops

    I'll have a go next week. Thanks
  7. Dave Craggs

    Forms showing on multiple desktops

    Thanks for the reply. These are the windows 10 virtual desktops. Border style is bsSizable Attribute WS_EX_TOOLWINDOW is not present in my code.
  8. Dave Craggs

    Forms showing on multiple desktops

    Application.MainFormOnTaskbar := True; Delphi 10.3 at the moment
  9. Dave Craggs

    Panels and alignment

    If you have a panel with items inside all aligned left. How do you maintain the order when you change visibility? The items start in the correct order, but it you hide one and then later make it visible, it can end up in the wrong position.
  10. Dave Craggs

    Panels and alignment

    OK got it. Hide all the controls and set align to alNone. then go though in the order that you want setting them to visible and align to alLeft.
  11. Dave Craggs

    Panels and alignment

    Hmm - could I do something with the Left property maybe?
  12. Dave Craggs

    StacTrace

    How do you get a StackTrace when an exception occurs? I have implement a logger inheriting from TDUnitXNullLogger Got this in OnTestError procedure TJPANUllLogger.OnTestError(const threadId: TThreadID; const Error: ITestError); begin inherited; FCurrentTestItem.Error := True; FCurrentTestItem.StackTrace := Error.StackTrace; Codesite.SendFmtMsg('StackTrace %s',[Error.StackTrace]); Codesite.SendFmtMsg('Message %s',[Error.ExceptionMessage]); Codesite.SendFmtMsg('LocationInfo %s',[Error.ExceptionLocationInfo]); Codesite.SendFmtMsg('AddressInfo %s',[Error.ExceptionAddressInfo]); end; ExceptionMessage is coming through, but not StackTrace
  13. Dave Craggs

    StacTrace

    OK got it working. Needed to include {$I DUnitX.Stacktrace.inc} Needed to be edited to enable MadExcept5 Also needed to add DUnitX.StackTrace.MadExcept5 to the project.
  14. Dave Craggs

    StacTrace

    Think I am losing it. Was also discussed here - no resolution though.
  15. Dave Craggs

    StacTrace

    Hmm - there is a unit DUnitX.StackTrace.MadExcept5;
  16. Dave Craggs

    StacTrace

    I have been using MadExcept for years. So how do I plug it into DunitX?
  17. Dave Craggs

    DUnitX and StackTraces

    OK - first, I use the GUI Test Runner when developing tests. Tests are then run using the console tester when doing builds using FinalBuilder. I need the stack trace to tell me where exceptions occur when tests fail. I have managed by using Codesite to show the stack trace, that will do for now.
  18. Dave Craggs

    DUnitX and StackTraces

    Anyone know how to view the stack trace using the GUI test runner?
  19. Dave Craggs

    DUnitX and StackTraces

    Did you get this working I have tried the MadExcept option, and it is getting called, but the stack trace is not being shown. Dave
  20. Hi All, Using the GUI test runner, how can I run code that executes after all the test have run? I tried inheriting from the main form but that was not allowed. Thanks Dave Craggs
  21. Dave Craggs

    DunitX run code after all tests have run

    That is what I did 🙂
  22. Dave Craggs

    DunitX run code after all tests have run

    Worked it out. Needed to implement OnTestingEnds in TDUnitXNullLogger
  23. Dave Craggs

    DunitX run code after all tests have run

    To print out a report.
  24. Dave Craggs

    Nevrona Rave Reports

    HI All, MalwareBytes is reporting the Nevrona website as containing Trojans. http://www.nevrona.com/ Anyone know anything about this? Dave Craggs
  25. Dave Craggs

    Nevrona Rave Reports

    It is MalwareBytes that is flagging it up.
×