bresson 5 Posted Sunday at 04:33 PM (edited) When designing forms I often accidently move some checkbox or something, just by clicking it (to inspect click event or such), if you click at the edge etc. it moves slightly (or maybe thats just me). Is there any way to undo this? What I usually do is make sure everything is saved and/or commited before I do any form designing, so if I accidently move something I can just give up and restart (and not save), or compare changes with repository to reverse (or discard) what ever I accidently moved. Everytime I revisit Delphi I encounter this again and get the feeling "oh yeah that trap is still there" .. Maybe I'm just missing some nice tip (besides locking components). Edited 23 hours ago by bresson Share this post Link to post
Vandrovnik 225 Posted Sunday at 05:42 PM 1 hour ago, bresson said: When designing forms I often accidently move some checkbox or something, just be clicking it (to inspect click event or such), if you click at the edge etc. it moves slightly (or maybe thats just me). Is there any way to undo this? What I usually do is make sure everything is saved and/or commited before I do any form designing, so if I accidently move something I can just give up and restart (and not save), or compare changes with repository to reverse (or discard) what ever I accidently moved. Everytime I revisit Delphi I encounter this again and get the feeling "oh yeah that trap is still there" .. Maybe I'm just missing some nice tip (besides locking components). It happens to me, too. When possible, I hold down Ctrl and then left mouse button to select the component. Missing Undo is annoying 😕 1 Share this post Link to post
Anders Melander 2108 Posted Sunday at 06:15 PM I think we all have this problem. Version control helps but it's still annoying. 1 Share this post Link to post
Pat Foley 54 Posted Sunday at 10:22 PM (edited) This is one place using the IDE Insight helps greatly. In the design window. use <F6> if your fingers are on the top row of the keyboard. or simply the <Ctrl .> if closer to bottom row. type in Control name or Class type of control. Select with Enter Key. Press <F11> then the Object inspector finder is focused and type in property to edit. Or simply tab thru the controls, moving/sizing them with control keys Shift or Ctrl with the arrow keys. Avoiding this practice in your case by simply pressing <F11> key instead. (Also verifies the tab order) Or the Structure panel is either mouse able or arrow keys to avoid touching the controls with mouse in the design window. Or View revisions by selecting Alt-F12 and select History there. 🙂 Edited Sunday at 10:51 PM by Pat Foley View revisions by selecting Alt-F12 and select History Share this post Link to post
Dorian C 1 Posted 23 hours ago It is and old bug. It happens to me, too. Share this post Link to post
limelect 53 Posted 21 hours ago Just close the page (form), do not save, and reopen In this case this is what I do Share this post Link to post