Jump to content

PeterPanettone

Members
  • Content Count

    1354
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by PeterPanettone

  1. PeterPanettone

    SVG Magic released

    IMO, SVG Magic is a fantastic component which potentially creates a new paradigm for user interfaces. Look at this COMPILED demo where I show some of its capabilities which can be used in a toolbar UI (try the trackbar, for example): Freely_Scale_Toolbar_Controls_With_SVG_v2.zip Here you can check the exe: https://www.virustotal.com/gui/file/553141624ae35f3d6215730bb6e16301301903b91609ee0d90cfbc69148ecb37
  2. PeterPanettone

    Marking of the main form in a multiform VCL Application

    OK, so now we know that it has no use for Schokohase. I think that I have no use for Schokohase's opinion.
  3. PeterPanettone

    Marking of the main form in a multiform VCL Application

    Of course, I too use a naming which makes these things clear. But it's also clear that often (or sometimes) we get projects where the naming is not so clear, so I would wish to have a REDUNDANT indication of these things. BTW, REDUNDANCY is an important concept when creating user interfaces. Imagine you live near a nuclear reactor where it's user-interface isn't particularly redundant... (maybe created by a chocolate lover...)
  4. PeterPanettone

    GExperts SourceExport problem

    I have filed a bug report here: https://sourceforge.net/p/gexperts/bugs/128/ The bug report has also the WinWord document file attached with which the bug can be reproduced.
  5. PeterPanettone

    GExperts SourceExport problem

    I have analyzed what GExperts exports as HTML clipboard format: Version:0.9 StartHTML:0000000105 EndHTML:0000002128 StartFragment:0000001413 EndFragment:0000002112 <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Fragment of MainForm.pas</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta name="generator" content="SynEdit HTML exporter" /> <style type="text/css"> <!-- body { color: #000000; background-color: #FFFFFF; } .pas1-assembler { background-color: #FFFFFF; color: #000000; } .pas1-character { background-color: #FFFFFF; color: #0000FF; } .pas1-comment { background-color: #FFFFFF; color: #008000; font-style: italic; } .pas1-float { background-color: #FFFFFF; color: #0000FF; } .pas1-hexadecimal { background-color: #FFFFFF; color: #0000FF; } .pas1-identifier { background-color: #FFFFFF; color: #000000; } .pas1-number { background-color: #FFFFFF; color: #0000FF; } .pas1-preprocessor { background-color: #FFFFFF; color: #008000; font-style: italic; } .pas1-reservedword { background-color: #FFFFFF; color: #000080; font-weight: bold; } .pas1-space { background-color: #FFFFFF; color: #000000; } .pas1-string { background-color: #FFFFFF; color: #0000FF; } .pas1-symbol { background-color: #FFFFFF; color: #000000; } --> </style> </head> <body> <!--StartFragment--><pre><code><span class="pas1-reservedword">function</span><span class="pas1-space"> PAIsWindowMinimized(h: HWND): Boolean; </span><span class="pas1-comment">// Detects whether a window is minimized or not </span><span class="pas1-reservedword">var </span><span class="pas1-space"> wp: Winapi.Windows.WINDOWPLACEMENT; </span><span class="pas1-reservedword">begin </span><span class="pas1-space"> wp.length := SizeOf(Winapi.Windows.WINDOWPLACEMENT); Winapi.Windows.GetWindowPlacement(h, @wp); Result := wp.showCmd = Winapi.Windows.SW_SHOWMINIMIZED; </span><span class="pas1-reservedword">end</span><span class="pas1-symbol">; </span></code></pre><!--EndFragment--></body> </html>* This is what CnWizards exports as HTML format: Version:1.0 StartHTML:000000176 EndHTML:000003298 StartFragment:000001389 EndFragment:000003263 StartSelection:000001389 EndSelection:000003263 SourceURL:http://www.cnpack.org/ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <meta name="GENERATOR" content="CnPack Source2Html Wizard (http://www.cnpack.org)"> <style type="text/css"> <!-- body { font-family: "Courier New"; font-size: 11pt;color: #000000 } .u0 { font-family: "Courier New"; font-size: 11pt;color: #000000 } .u1 { font-family: "Courier New"; font-size: 11pt; font-style: italic;color: #008000 } .u2 { font-family: "Courier New"; font-size: 11pt;color: #0000FF } .u3 { font-family: "Courier New"; font-size: 11pt;color: #008080 } .u4 { font-family: "Courier New"; font-size: 11pt;color: #000000 } .u5 { font-family: "Courier New"; font-size: 11pt; font-weight: bold;color: #000080 } .u6 { font-family: "Courier New"; font-size: 11pt;color: #FF0000 } .u7 { font-family: "Courier New"; font-size: 11pt;color: #000000 } .u8 { font-family: "Courier New"; font-size: 11pt;color: #0000FF } .u9 { font-family: "Courier New"; font-size: 11pt;color: #000000 } .u10 { font-family: "Courier New"; font-size: 11pt;color: #0000FF } --> </style> </head> <body bgcolor="#FFFFFF"> <!--StartFragment--><span class="u5">function</span>&nbsp;<span class="u4">PAIsWindowMinimized</span><span class="u9">(</span><span class="u4">h</span><span class="u9">:</span>&nbsp;<span class="u4">HWND</span><span class="u9">):</span>&nbsp;<span class="u4">Boolean</span><span class="u9">;</span> <br><span class="u9"></span><span class="u1">//&nbsp;Detects&nbsp;whether&nbsp;a&nbsp;window&nbsp;is&nbsp;minimized&nbsp;or&nbsp;not</span> <br><span class="u5">var</span> <br>&nbsp;&nbsp;<span class="u4">wp</span><span class="u9">:</span>&nbsp;<span class="u4">Winapi</span><span class="u9">.</span><span class="u4">Windows</span><span class="u9">.</span><span class="u4">WINDOWPLACEMENT</span><span class="u9">;</span> <br><span class="u5">begin</span> <br>&nbsp;&nbsp;<span class="u4">wp</span><span class="u9">.</span><span class="u4">length</span>&nbsp;<span class="u9">:=</span>&nbsp;<span class="u4">SizeOf</span><span class="u9">(</span><span class="u4">Winapi</span><span class="u9">.</span><span class="u4">Windows</span><span class="u9">.</span><span class="u4">WINDOWPLACEMENT</span><span class="u9">);</span> <br>&nbsp;&nbsp;<span class="u4">Winapi</span><span class="u9">.</span><span class="u4">Windows</span><span class="u9">.</span><span class="u4">GetWindowPlacement</span><span class="u9">(</span><span class="u4">h</span><span class="u9">,</span>&nbsp;<span class="u9">@</span><span class="u4">wp</span><span class="u9">);</span> <br>&nbsp;&nbsp;<span class="u4">Result</span>&nbsp;<span class="u9">:=</span>&nbsp;<span class="u4">wp</span><span class="u9">.</span><span class="u4">showCmd</span>&nbsp;<span class="u9">=</span>&nbsp;<span class="u4">Winapi</span><span class="u9">.</span><span class="u4">Windows</span><span class="u9">.</span><span class="u4">SW_SHOWMINIMIZED</span><span class="u9">;</span> <br><span class="u5">end</span><span class="u9">;</span> <!--EndFragment--></body> </html> * BTW, the fragment exported by CNWizards does not create the squares in the faulty WinWord document.
  6. PeterPanettone

    GExperts SourceExport problem

    I've tried it now with a fresh new WinWord document where I pasted the clipboard content. No squares there. Then I retried it with the document where the squares have appeared yesterday. The squares appeared again. So I have to conclude that the problem appears only in a specific WinWord document. I could not find out why.
  7. Thank you! It works. I wonder whether the documentation is intentionally misleading there.
  8. PeterPanettone

    Bug in Delphi CODE INSIGHT?

    When I create a new VCL Application from scratch in the Delphi 10.3.1 IDE with File -> New -> Windows VCL Application then everything including CODE INSIGHT works well. This newly created VCL Application project has the "Use MSBuild externally to compile" project option set to FALSE as default: But when I set the "Use MSBuild externally to compile" project option manually to TRUE: ...(and then rebuild the project) then CODE INSIGHT does not work anymore: This affects the Code Insight popup menu which normally is invoked after typing a DOT: ...and so the Code Insight popup menu does not show up anymore! Question: Is this a BUG in the IDE?
  9. PeterPanettone

    GExperts SourceExport problem

    Yes. What are the squares doing there?
  10. PeterPanettone

    Bug in Delphi CODE INSIGHT?

    No, I often get projects where this option is set to True.
  11. PeterPanettone

    Bug in Delphi CODE INSIGHT?

    I also always try to avoid Πρόωρη εκσπερμάτωση.
  12. PeterPanettone

    Bug in Delphi CODE INSIGHT?

    That would be like Christmas, Easter and birthday together.
  13. PeterPanettone

    Add a system-menu item to all applications?

    Until now I achieved what I wanted to achieve by intercepting the right-button-mouse-click on the title-bar of any application window. But now I have a system program which also does exactly that, so it overrides my action.
  14. Thank's for the clarification. I sometimes feel the smell of Atari in the Delphi IDE, or am I wrong?
  15. Very good idea! Is it possible to export/import all Tools entries at once or only one by one?
  16. I am using the CnWizards version of "Intellisense" (code-completion) as it has several advantages with respect to the native Delphi code-completion (see the screenshot). However, both code-completion popups lack the ability to show whether a selected property is published or public: Or is there a distinction which I do not see?
  17. PeterPanettone

    Show public/published distinction in code-completion popup?

    And please note that the SUBJECT of this conversation is "...code-completion popup..."
  18. PeterPanettone

    Show public/published distinction in code-completion popup?

    Come on, we don't live at Atari times anymore.
  19. PeterPanettone

    Show public/published distinction in code-completion popup?

    I often write in uppercase without having the intention to shout.
  20. PeterPanettone

    Show public/published distinction in code-completion popup?

    Nobody is shouting. We talk about source code documentation here.
  21. PeterPanettone

    Show public/published distinction in code-completion popup?

    However, the CnWizards Code Input Helper seems to have options to show source code documentation: But I don't see any source code documentation in the CnWizards Code Input Helper, although there IS documentation in the source code where I am testing this.
  22. PeterPanettone

    Show public/published distinction in code-completion popup?

    Where did you get this? Marco Cantù answered at the Quality Portal: "RAD Studio IDE offers Help Insight, which can grab XMLDoc documentation from the source and displays is alongside in a very similar way. The limitation is we don't have large coverage in terms of XMLDoc." Stefan, maybe you confuse something here. We are talking about SOURCE CODE DOCUMENTATION.
  23. PeterPanettone

    Show public/published distinction in code-completion popup?

    Also, look at how other IDEs show the documentation in the code completion popup: Why the Delphi code completion popup does not show the documentation in the code completion popup? Is there a Delphi IDE add-in which displays the documentation in the code completion popup like in the above screenshot?
  24. PeterPanettone

    What's the state of JCL/JVCL?

    Embarcadero should hire them and pay them a decent salary! Embarcadero should also hire a few dozens of first-class Delphi developers and maintain the major open source Delphi libraries! What is Embarcadero doing with the many billions of $$$ they get from Delphi licenses?
  25. I have added this feature request in GExperts: https://sourceforge.net/p/gexperts/feature-requests/65/ This OPTION would add a lot of useful flexibility to directory Search in Grep Search: If Grep Search finds a shortcut link (*.lnk) of a directory in the search directory (e.g. pointing to D:\MyProject) then Grep Search additionally searches in directory: D:\MyProject If Grep Search finds a shortcut link of a file in the search directory (e.g. pointing to F:\MyRoutines.pas) then Grep Search additionally searches in the file: F:\MyRoutines.pas This would allow me to create a directory full of shortcut links pointing to preferred source code directories and favorite source code files to concentrate the grep search on specific content. This would be very useful! What do you people think?
×