Advertisement
RandomClear

How to change default tab for MS Classic dialog

Jun 10th, 2015
356
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Delphi 0.99 KB | None | 0 0
  1. // As developer, you are mostly interested in call stack.
  2. // That is why "Call Stack" tab is displayed by default
  3. // when clicking on "Details" link in MS Classic dialog - to save your time.
  4. // After all, you already know all what is written in the "General" tab.
  5. // The info on "General" tab is needed only when remote customer sends you bug report.
  6. //
  7. // You can change this behaviour at design-time when using EurekaLog dialog -
  8. // by changing corresponding "Foreground tab" option.
  9. // However, you can't change this option at design-time when using other dialogs (such as MS Classic)
  10. // The reason is that EurekaLog has single united settings for all dialogs
  11. // (unlike send engines - where each send method has its own isolated settings),
  12. // and this option ("Foreground tab") defaults to "Call Stack".
  13. //
  14. // However, you may do this via code.
  15. // Place the following code early at initialization:
  16.  
  17. uses
  18.   EModules,
  19.   ETypes;
  20.  
  21.   CurrentEurekaLogOptions.ForegroundTab := ftGeneral;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement