PeterPanettone 158 Posted April 27 (edited) The activated option "Lock Controls" in the Edit menu is not restored when re-starting the IDE! This option is very important and helpful, as it prevents an unintentional repositioning of controls in the Form Designer! It also prevents the annoying file change in the FormDesigner that frequently (randomly) happens when switching from the Code Editor to the FormDesigner (with F12), caused by the automatic re-aligning of aligned controls in the Form Designer: The option "Lock Controls" should be restored automatically when re-starting the IDE to prevent this annoying behavior! Can anyone confirm this? Edited April 27 by PeterPanettone 1 Share this post Link to post
Uwe Raabe 2064 Posted April 27 Seems someone already filed a report 8 years ago: https://quality.embarcadero.com/browse/RSP-13448 1 Share this post Link to post
MarkShark 27 Posted April 27 As a possibly related note. I've created a bug report Lock Controls not visible initially regarding that menu item having some issues when placed on an IDE toolbar. I always do this when I customize the IDE after install. It's a very useful feature. 1 Share this post Link to post
PeterPanettone 158 Posted April 27 (edited) 1 hour ago, Uwe Raabe said: Seems someone already filed a report 8 years ago: https://quality.embarcadero.com/browse/RSP-13448 Strange coincidence: It seems the same person has also filed a similar report today: https://embt.atlassian.net/servicedesk/customer/portal/1/RSS-791 Edited April 27 by PeterPanettone Share this post Link to post
PeterPanettone 158 Posted April 27 (edited) On the other hand, the "Show/Hide Non-Visual Components" setting in the Edit menu is already being restored between sessions: In other words, the "Show/Hide Non-Visual Components" setting is AUTOMATICALLY restored to its previous state when the IDE is restarted. So, it seems the Embarcadero team has forgotten to restore the "Lock Controls" setting. Edited April 27 by PeterPanettone Share this post Link to post
PeterPanettone 158 Posted April 27 (edited) A comment has been added to the Quality Portal report: Quote Another possibility would be the implementation of a start parameter that switches on the "Lock Controls" option when the IDE is started: bds.exe -LockControls This switch would activate the “Lock Controls“ option in the IDE. This approach would add an additional level of flexibility. Edited April 27 by PeterPanettone Share this post Link to post
PeterPanettone 158 Posted April 30 (edited) On 4/27/2024 at 11:53 AM, MarkShark said: As a possibly related note. I've created a bug report Lock Controls not visible initially regarding that menu item having some issues when placed on an IDE toolbar. I always do this when I customize the IDE after install. It's a very useful feature. The IDE plugin GExperts has a user-configurable TOOLBAR that allows you to place the LOCK CONTROLS command on that toolbar. It reflects the current state of the command (Locked or not): There is even another plugin that has a similar toolbar functionality: CnWizards Edited April 30 by PeterPanettone Share this post Link to post
PeterPanettone 158 Posted April 30 (edited) It seems that the "Lock CONTROLS" command is assigned separately for each Form tab. This means it can be locked on one Form tab and unlocked on another. Can anyone confirm this? Edited April 30 by PeterPanettone Share this post Link to post