Jump to content

PeterPanettone

Members
  • Content Count

    1318
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by PeterPanettone

  1. PeterPanettone

    GExperts SourceExport problem

    Yes, I will test it. Thank you very much!
  2. Every multi-form VCL Application has a MAIN-FORM which is labeled in the Project Options dialog: Unfortunately, in the Project Explorer panel, there is no indication which is the unit associated with the MAIN FORM: Wouldn't it be useful if such an indication would be automatically shown by the IDE in the Project Explorer panel? (For example, with a different font color of the specific unit).
  3. PeterPanettone

    Marking of the main form in a multiform VCL Application

    For some, it's a strategy.
  4. PeterPanettone

    Marking of the main form in a multiform VCL Application

    This discussion is meant as a preparation for a feature request.
  5. PeterPanettone

    Marking of the main form in a multiform VCL Application

    MMX. All these usage scenarios of how people use the IDE is somewhat interesting. Maybe it would fit into a topic named "How do you personally use the IDE?" But it has nothing to do with the subject of this topic: "Marking of the main form in a multiform VCL Application" Maybe this could also be considered for a psychological or sociological study on how people in discussion forums tend to deviate from a given topic.
  6. PeterPanettone

    SVG Magic released

    No, for the user abstract DPI values are useless. In the practice, the user will just visually set an icon size which pleases his eye. I rather think that you are not able to scale them freely as in my demo.
  7. PeterPanettone

    SVG Magic released

    It is as I thought: Your demo CANNOT freely scale button icons as my demo (Freely_Scale_Toolbar_Controls_With_SVG_v2.zip) does. It can scale the button icons only in pre-defined steps: 75, 100, 125, 150, 175. For that, I don't need any SVG, just a few standard image-lists in different icon-sizes! The floppy image seems to be an SVG image overlay which can also be freely scaled with the SVG Magic library. The advantage of the SVG Magic library is that it contains a SVG Image-List component which allows you to do the things as shown in my demo.
  8. PeterPanettone

    Marking of the main form in a multiform VCL Application

    The idea of the proposal is that the marking is done automatically by the IDE, for example with a different font color of the specific unit name in the Project Explorer panel. Then, you can always name your forms as you want.
  9. PeterPanettone

    SVG Magic released

    Then I am sure you can indicate me a demo where button icon sizes can be freely changed without scaling like in my demo. If you cannot then it is proof that you are here to slander the products of other people.
  10. PeterPanettone

    Marking of the main form in a multiform VCL Application

    Don't you understand what we are talking here about? We are not talking about naming forms. Please read the original SUBJECT of this topic: "Marking of the main form in a multiform VCL Application"
  11. PeterPanettone

    SVG Magic released

    Have you at least downloaded and looked at my demo? NO? Then what are you writing about? Just spreading bad emotions?
  12. PeterPanettone

    Marking of the main form in a multiform VCL Application

    I could not do the IDE enhancement. How could I?
  13. PeterPanettone

    Marking of the main form in a multiform VCL Application

    I not, but others might. There is still the possibility the project files are created by a script. Do what?? What?? What?? Please be more explicit.
  14. PeterPanettone

    Marking of the main form in a multiform VCL Application

    Schokohase, thanks for your hint.
  15. 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
  16. 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.
  17. 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...)
  18. 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.
  19. 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.
  20. 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.
  21. Thank you! It works. I wonder whether the documentation is intentionally misleading there.
  22. 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?
  23. PeterPanettone

    GExperts SourceExport problem

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

    Bug in Delphi CODE INSIGHT?

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

    Bug in Delphi CODE INSIGHT?

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