Jump to content

PeterPanettone

Members
  • Content Count

    1318
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by PeterPanettone

  1. PeterPanettone

    XML to SVG

    I don't sell anything. Please don't insinuate anything here if I was a drug dealer. If you don't want to pay a small fee for other people's hard work you can write the code yourself. I am NOT affiliated with SVGMagic. While the opensource idea is a good concept for social collaboration, the misconception that EVERYTHING must be free is a pathological social delusion.
  2. PeterPanettone

    XML to SVG

    You can get the source code from Github. It is very easy to get.
  3. In the IDE's FormDesigner Structure panel, when I copy a number of selected components, I get a collection of objects in the clipboard. An IDE expert would search and extract all code elements in the project's source code referring to any of the objects in the collection. This would allow us to easily copy a selection of UI elements together with their inherent code functionality and insert them into another project with minimal effort. The steps to extract the code elements would be: 1. Create a list of the object names in the clipboard collection 2. Search those object names in the project's source code 3. Automate the extraction of the code elements (procedures, functions, declarations, variables, etc.) referring objects in the object collection and put them in a code collection. 4. Insert the objects and the code-elements into another project. 5. Make the necessary adjustments and corrections
  4. I know the term "orthogonal" from geometry. What do you mean with "orthogonal" in respect of code?
  5. Consider this case: You have a PageControl where each page contains a number of UI-controls so that each page has a separate functionality. It is easy to re-use a specific functionality by copying the UI controls from a specific page. But how would you a priori separate just the code connected to these UI-controls so that just this code could be easily re-used? It would help if it was possible to put a TForm on a PageControl page. In this way both the UI-controls and their connected code would be confined inside this form. I diffusely remember a UI-component allowing to do this: Placing a TForm in it.
  6. I have to make some more research into separating different functionalities in confined areas where they can be easily reused. It would be nice if the IDE (or an IDE expert) could help us doing this or help us refactoring existing code into clearly separated code areas.
  7. In Delphi 10.3.3 I have the Floating Form Designer, with the Form Designer and the Structure panel on the second monitor. Sometimes it happens that the Structure panel is EMPTY, regardless whether it is located on the first monitor or on the second monitor: So I decided do file a support case with Embarcadero (never done that before). In the subscription e-mail, I got from Embarcadero, I found this support URL: http://support.embarcadero.com/annual I tried any of the dropdown menu items: With "Product support" I got a new login form although I was already logged in with my correct user name and password. I entered them again but it said "Invalid...". So I clicked the "Send new password" button. But since then no message from Embarcadero. Is there a working annual support page?
  8. PeterPanettone

    Structure Panel empty - how to get Embarcadero support?

    On the other hand, with this URL: http://supportforms.embarcadero.com ...there seems to be no option for an IDE bug support:
  9. PeterPanettone

    Structure Panel empty - how to get Embarcadero support?

    I don't understand your answer.
  10. PeterPanettone

    Structure Panel empty - how to get Embarcadero support?

    BTW, a much more EFFICIENT way to handle support cases would be: 1. Send 3 GUIDs (Globally Unique Identifiers) and a support email-address in the mail to the subscriber. 2. To file a support case with Embarcadero, the subscriber must only send an e-mail with one of the GUIDs in the subject field. This can be very well automated with software and subscriber databases at Embarcadero and saves a lot of manual work for the support staff.
  11. PeterPanettone

    Improve the Structure Panel?

    The most ANNOYING brake shoe in Delphi programming is the stone-age linkage of the structure panel content to the current type of editor: • In the CODE EDITOR the structure panel always shows the identifiers of the code edited in the editor. • In the FORM DESIGNER the structure panel always shows the list of object instances of the current form in a tree view. PLUS, there is a linkage between the OBJECT INSPECTOR content and the selected object in the structure panel (but only if you are in the FORM DESIGNER; the INSTANCES LIST on top of the Object Inspector is unusable because it is not displayed as a tree view and its width cannot be resized). But what if you are in the code editor and need a specific object to be displayed in the Object Inspector? There are two possibilities: 1. You switch to the Form Designer by pressing the F12 key, support the flickering of the tool windows, then select the desired object to display it in the Object Inspector. 2. Or: You click the Instances List Combobox on top of the Object Inspector and spend a lot of time finding the desired object (because it is not displayed as a tree view and the width is not resizable). All this is an unnecessary loss of time because of the mentioned stone-age linkage. So, would it be possible with a piece of software to solve these problems? For example: • Show the Structure Panel with its object instances treeview even if you are in the code editor? • Have an Object Inspector Instances List in the form of a treeview and with resizable width? Also, there is no distinction between visual and non-visual elements in the structure panel displaying the objects tree: There is no button in the Structure Panel to show only the visual objects or only the non-visual elements. Could any of these problems be solved by a GExpert?
  12. PeterPanettone

    Improve the Structure Panel?

    Delphi is wonderful for small projects. But if you have a middle-size or large project, the mentioned drawbacks (e.g. the linkage of the structure panel content to the current type of editor) are annoying and time-consuming.
  13. PeterPanettone

    Highlight a specific popup menu item?

    Actually I work with Delphi 3. I am glad you helped me to understand.
  14. PeterPanettone

    Highlight a specific popup menu item?

    And which style exactly did you add? I am still waiting for the screenshots.
  15. PeterPanettone

    Highlight a specific popup menu item?

    Where exactly did you add "STYLE"?
  16. PeterPanettone

    Highlight a specific popup menu item?

    Could you please show me a screenshot of that "bluish color but so faint that it is almost not there".
  17. PeterPanettone

    Highlight a specific popup menu item?

    Very impressive!
  18. PeterPanettone

    Highlight a specific popup menu item?

    I do not think you are a novice.
  19. PeterPanettone

    Highlight a specific popup menu item?

    Can you please show a screenshot while you hover the mouse pointer over a menu-item (and move the mouse a little bit), does that menu-item get highlighted? Thank you!
  20. PeterPanettone

    Highlight a specific popup menu item?

    Thanks for the information. When you hover the mouse pointer over a menu-item (and move the mouse a little bit), does that menu-item get highlighted? Can you please show a screenshot?
  21. PeterPanettone

    Highlight a specific popup menu item?

    What do you want it to do? Making coffee?
  22. The MMX Find next/previous occurrence feature is VERY USEFUL! However, it should be possible to ENLARGE THE WIDTH of the dialog with the mouse: In this screenshot, you can see that you have to manually augment the Source column to see the searched identifier in the displayed source code line. Of course, the enlarged width should automatically be remembered between sessions. It would also be useful if the searched identifier would be somehow (e.g. with different font color) marked inside the displayed source code line.
  23. PeterPanettone

    Highlight a specific popup menu item?

    Here is a SO question about this matter, where one answer says to use ZeroMemory and the other answer says to use Default: https://stackoverflow.com/questions/5509394/how-can-i-quickly-clear-a-record-of-simple-types What is the PRO and CONTRA of the two alternatives?
  24. PeterPanettone

    Highlight a specific popup menu item?

    Thanks. Can you please show a short code example in the context of the above project?
  25. PeterPanettone

    Highlight a specific popup menu item?

    OK, I have optimized it, and now it works perfectly as I want it: A nice STICKY POPUP MENU! Here is the source code: StickyPopupMenuSimulation_3.zip
×