Jump to content

PeterPanettone

Members
  • Content Count

    1354
  • Joined

  • Last visited

  • Days Won

    5

Posts posted by PeterPanettone


  1. 23 minutes ago, PeterPanettone said:

    which BTW would be an interesting option

    In complex forms with many (nested) objects, displaying only the DFM object code for the selected object would be a helpful option. It could help the user focus on that object when editing its code in the Code Editor.

    What do you think about this?


  2. 41 minutes ago, Die Holländer said:

    Right-Click on the form caption bar.

    In my Delphi (12.1) the context menu is shown from the whole form (not only from the caption bar) - but not from the Form Designer canvas. Which is logically inconsistent because the Code Editor showing the DFM code shows the code of the whole form and and not specifically the code of the clicked object (which BTW would be an interesting option).


  3. 19 minutes ago, Uwe Raabe said:

    AFAIK, this command is only available from the context menu of the form designer.

    Unfortunately, the shortcut ALT+F12 is missing from the context menu!

     

    image.thumb.png.a0f970fd8da314119baae8d864585c32.png

     

    Isn't displaying existing shortcuts a requirement for a consistent UI?


  4. In Delphi 12.1 Form Designer you can show the DFM code in the Code Editor with the shortcut ALT+F12.

     

    Where is the menu command for this action?

     

    Wasn't the View menu supposed to show the menu item 'View as Text' for this command? There is none:

     

    image.thumb.png.b45f836fb367a7e4642093f652e47e4a.png


  5. 15 minutes ago, Anders Melander said:

    Maybe ask yourself that question from time to time. These threads aren't really improving the SNR here.

    As with all such questions, there are many levels or perspectives from which to view this issue. Of course, it's tempting to take the most comfortable position, especially if your fellow club members are already on that branch.


  6. 1 hour ago, Brian Evans said:

    I don't think it is "displaying a TPopupMenu at design time" but is a custom form used to design menus. Works fine for the biggest requirements: add menu items and show their relation to each other. 

    You are correct, as the so-called "Menu Designer" only manages references to the TMenuItem objects of a TPopupMenu in the same way the Actions List Editor does not display Actions but refers to a List of TAction objects.

    But then they should not call it "Menu Designer" but MENU CONSTRUCTOR.

     

    But wouldn't a REAL Menu Designer that shows the MenuItem icons be great? Or is this beyond the capabilities of the Embarcadero development team?

     

    Thomas: wink-wink...


  7. 1 hour ago, PeterBelow said:

    Do you use the Bitmap property of the menu items or have you attached an imagelist to the popup menu and used the  imageindex property of the menu items? The latter is the way to go these days.

    I use both. In neither case are the icons shown in the Menu Designer.

    Why are you asking?


  8. On 5/24/2024 at 11:46 AM, Uwe Raabe said:

    Before doing so, the developer needs to get assigned a task for it. This requires the product management to schedule such a task, which itself requires that there actually exists a request for it. If there isn't already one in the issue tracker I suggest to create one.

    I HAVE created one. But it was closed with the response: "Works as expected" (!)


  9. So maybe it's also related to the SVN issue. Making the behavior of a compiled executable dependent on something that is not in the source is simply IRRATIONAL. That would be the same as making the behavior of the executable dependent on the weather at the compile time.


  10. 2 hours ago, dummzeuch said:

    I get build 4256, which matches the svn revision number

    What has the SVN revision number to do with the source revision number? If someone downloads the source not with SVN but directly from the snapshot, as indicated in the above screenshot, then no SVN revision number can be retrieved. So, you should output the revision number in the Splash Screen by retrieving it directly from the source (and not from SVN).


  11. 50 minutes ago, dummzeuch said:

    when building with the build scripts

    The build scripts don't work - they showed an error. That's why I'm building in the IDE.

     

    Strangely, AFTER having built the project in the IDE, the build script succeeded:

     

    \gexperts-code-r4257-trunk\Projects\DelphiXx120\__Build_Project.cmd


  12. I have built GExperts [r4257] in Delphi 12.1 with the RELEASE build configuration (the default preset is the Debug build configuration).

     

    Is there a performance advantage of the release configuration over the debug configuration?

×