PeterPanettone 158 Posted Wednesday at 10:52 AM (edited) I want to achieve this design time automation: Whenever a new object is created (either from the Palette or by pasting an object from the clipboard), the Quick Edit dialog for the new object is automatically shown. Is there a way to achieve this with GExperts? Edited Wednesday at 11:33 AM by PeterPanettone Share this post Link to post
dummzeuch 1518 Posted Wednesday at 11:34 AM No. But you could instead have it automatically open the Rename Component expert dialog, which can be configured to give you most of these options (not the color though, which is pretty much useless without also setting the StyleElements property). For the Text property edit to be shown, you need to add Text to the Additional Properties in the Expert's configuration dialog. Share this post Link to post
PeterPanettone 158 Posted Wednesday at 01:21 PM Hello Thomas, Thanks for the information. The GExperts Rename Component expert is indeed useful when changing only the name. However, with multiple properties, the layout is broken and inconsistent: Share this post Link to post
dummzeuch 1518 Posted Wednesday at 01:58 PM 31 minutes ago, PeterPanettone said: Thanks for the information. The GExperts Rename Component expert is indeed useful when changing only the name. However, with multiple properties, the layout is broken and inconsistent: As far as I am aware this dialog should work with multiple additional properties. Which version of Delphi and GExperts are we talking about? And if a HighDPI aware IDE is involved: What is your monitor setup? Share this post Link to post
PeterPanettone 158 Posted Wednesday at 02:19 PM (edited) 32 minutes ago, dummzeuch said: As far as I am aware this dialog should work with multiple additional properties. Dear Thomas! Can you please post a screenshot with multiple properties? Thank you! And a happy new year! 🎈🙋♂️ Edited Wednesday at 02:34 PM by PeterPanettone Share this post Link to post
dummzeuch 1518 Posted Wednesday at 02:34 PM 11 minutes ago, PeterPanettone said: Can you please post a screenshot with multiple properties? Thank you! And a happy new year! 🎈🙋♂️ here you go: Share this post Link to post
PeterPanettone 158 Posted Wednesday at 03:33 PM (edited) I use Delphi 12.2 in Windows 11 and have just now downloaded and compiled version r-4418: 1. you should not trust the GExperts users to use the same DPI settings as you when they compile the GExperts source code. 2. you should prioritize LAYOUT over blindly trusting that your DPI settings will work for the users when they compile the GExperts source code. Following rule #2, I have now moved the main dialog buttons down to the bottom into a separate panel, which creates a more logical layout: In the next step, I will adjust the layout logic for multiple properties. Edited Wednesday at 03:44 PM by PeterPanettone Share this post Link to post
dummzeuch 1518 Posted Wednesday at 03:47 PM 2 minutes ago, PeterPanettone said: 1. you should not trust the GExperts users to use the same DPI settings as you when they compile the GExperts source code. I don't. But I suggest using the _build_project.cmd script in the sub-directory under Projects matching the Delphi version. But even when using the IDE the DPI settings should not make a difference unless you open all the forms and safe them again. 7 minutes ago, PeterPanettone said: 2. you should prioritize layout over blindly trusting that your DPI settings will work for the users when they compile the GExperts source code. No comment, I don't want to get rude. Share this post Link to post
dummzeuch 1518 Posted Wednesday at 04:52 PM It is yet another bloody per monitor scaling issue and depends on how the monitor(s) is/are configured: It does not occur if there is one monitor with scaling set to 100, even if another monitor is set to scaling > 100. It also does not occur over Remote Desktop (at least not in my tests). Since I have got a High DPI monitor and a HD monitor, it does not happen on my system. I had to turn off the HD monitor to reproduce the problem. Share this post Link to post
dummzeuch 1518 Posted Wednesday at 05:10 PM Fixed in revision #1149 (I hope) Share this post Link to post
PeterPanettone 158 Posted Wednesday at 05:15 PM (edited) 20 minutes ago, dummzeuch said: It is yet another bloody per monitor scaling issue and depends on how the monitor(s) is/are configured: It does not occur if there is one monitor with scaling set to 100, even if another monitor is set to scaling > 100. It also does not occur over Remote Desktop (at least not in my tests). Since I have got a High DPI monitor and a HD monitor, it does not happen on my system. I had to turn off the HD monitor to reproduce the problem. Dear Thomas, you are completely right! But all these DPI problems can be OVERRIDDEN by using an optimal LAYOUT. The logical error is to focus only on one issue (the DPI settings) while ignoring the broader context of responsive design and layout adaptability. Edited Wednesday at 05:19 PM by PeterPanettone Share this post Link to post
dummzeuch 1518 Posted Wednesday at 05:37 PM (edited) Thanks for your suggestion. Edited Wednesday at 06:00 PM by dummzeuch 1 Share this post Link to post
PeterPanettone 158 Posted Wednesday at 05:49 PM 4 minutes ago, dummzeuch said: Thanks for your suggestion. I have YOU to thank for such an ingenious product as GExperts! I could not take over the maintenance of GExperts. YOU are the leading expert for GExperts! Share this post Link to post