

PeterPanettone
Members-
Content Count
1360 -
Joined
-
Last visited
-
Days Won
5
Everything posted by PeterPanettone
-
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.
-
Marking of the main form in a multiform VCL Application
PeterPanettone replied to PeterPanettone's topic in Delphi IDE and APIs
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" -
Have you at least downloaded and looked at my demo? NO? Then what are you writing about? Just spreading bad emotions?
-
Marking of the main form in a multiform VCL Application
PeterPanettone replied to PeterPanettone's topic in Delphi IDE and APIs
I could not do the IDE enhancement. How could I? -
Marking of the main form in a multiform VCL Application
PeterPanettone replied to PeterPanettone's topic in Delphi IDE and APIs
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. -
Marking of the main form in a multiform VCL Application
PeterPanettone replied to PeterPanettone's topic in Delphi IDE and APIs
Schokohase, thanks for your hint. -
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
-
Marking of the main form in a multiform VCL Application
PeterPanettone replied to PeterPanettone's topic in Delphi IDE and APIs
OK, so now we know that it has no use for Schokohase. I think that I have no use for Schokohase's opinion. -
Marking of the main form in a multiform VCL Application
PeterPanettone replied to PeterPanettone's topic in Delphi IDE and APIs
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...) -
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.
-
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> <span class="u4">PAIsWindowMinimized</span><span class="u9">(</span><span class="u4">h</span><span class="u9">:</span> <span class="u4">HWND</span><span class="u9">):</span> <span class="u4">Boolean</span><span class="u9">;</span> <br><span class="u9"></span><span class="u1">// Detects whether a window is minimized or not</span> <br><span class="u5">var</span> <br> <span class="u4">wp</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><span class="u5">begin</span> <br> <span class="u4">wp</span><span class="u9">.</span><span class="u4">length</span> <span class="u9">:=</span> <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> <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> <span class="u9">@</span><span class="u4">wp</span><span class="u9">);</span> <br> <span class="u4">Result</span> <span class="u9">:=</span> <span class="u4">wp</span><span class="u9">.</span><span class="u4">showCmd</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">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.
-
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.
-
IDE Command Line Switch for NOT auto-loading the previous project
PeterPanettone replied to PeterPanettone's topic in Delphi IDE and APIs
Thank you! It works. I wonder whether the documentation is intentionally misleading there. -
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?
-
Yes. What are the squares doing there?
-
No, I often get projects where this option is set to True.
-
I also always try to avoid Πρόωρη εκσπερμάτωση.
-
That would be like Christmas, Easter and birthday together.
-
Add a system-menu item to all applications?
PeterPanettone replied to PeterPanettone's topic in Windows API
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. -
New GExperts IDE enhancement: Export and Import entries for the Tools menu
PeterPanettone replied to dummzeuch's topic in GExperts
Thank's for the clarification. I sometimes feel the smell of Atari in the Delphi IDE, or am I wrong? -
New GExperts IDE enhancement: Export and Import entries for the Tools menu
PeterPanettone replied to dummzeuch's topic in GExperts
Very good idea! Is it possible to export/import all Tools entries at once or only one by one? -
Show public/published distinction in code-completion popup?
PeterPanettone posted a topic in Delphi Third-Party
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? -
Show public/published distinction in code-completion popup?
PeterPanettone replied to PeterPanettone's topic in Delphi Third-Party
And please note that the SUBJECT of this conversation is "...code-completion popup..." -
Show public/published distinction in code-completion popup?
PeterPanettone replied to PeterPanettone's topic in Delphi Third-Party
Come on, we don't live at Atari times anymore. -
Show public/published distinction in code-completion popup?
PeterPanettone replied to PeterPanettone's topic in Delphi Third-Party
I often write in uppercase without having the intention to shout.