tag:blogger.com,1999:blog-9040327036497268290.post4947182286459712152..comments2024-02-12T08:57:18.200+00:00Comments on Me, Myself and Delphi: Can you confirm this bug?Fernando Madrugahttp://www.blogger.com/profile/07296473246062338124noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-9040327036497268290.post-45311326841019783632007-07-06T10:07:00.000+00:002007-07-06T10:07:00.000+00:00Using the same steps on another system (Vista-64 U...Using the same steps on another system (Vista-64 Ultimate), I see the same thing you do. Button3 is not drawn as the anchor.Bruce McGeehttps://www.blogger.com/profile/09952420043727301654noreply@blogger.comtag:blogger.com,1999:blog-9040327036497268290.post-19749730872656153902007-07-06T09:39:00.000+00:002007-07-06T09:39:00.000+00:00Yup, I missed him using the context menu.I'm still...Yup, I missed him using the context menu.<BR/><BR/>I'm still seeing different behaviour, though. If I right click Button3 and bring up the context menu, Button3 has the darker squares (not the case in the video).<BR/><BR/>I think the bug here is that right-clicking a control when more than one is selected shouldn't change the anchor.<BR/><BR/>I'll try it again on another system later today.Bruce McGeehttps://www.blogger.com/profile/09952420043727301654noreply@blogger.comtag:blogger.com,1999:blog-9040327036497268290.post-27712888019206963242007-07-06T01:04:00.000+00:002007-07-06T01:04:00.000+00:00Bruce, if you notice carefully, the speaker *also*...Bruce, if you notice carefully, the speaker *also* used the context menu after right-clicking Button 3: he simply Canceled the dialog and *then* used the Align toolbar.<BR/><BR/>That, I believe, is the whole thing...<BR/><BR/>In all fairness, the first time I tried I also got Button 3 with the darker corners but now, following my own steps *to the letter* I seem to be able to replicate it consistently...<BR/><BR/>(Another try: yep! Managed to replicate the bug here again...)Fernando Madrugahttps://www.blogger.com/profile/07296473246062338124noreply@blogger.comtag:blogger.com,1999:blog-9040327036497268290.post-38463682629032463512007-07-05T23:54:00.000+00:002007-07-05T23:54:00.000+00:00I saw the update to the post.When I follow your st...I saw the update to the post.<BR/><BR/>When I follow your steps, button3 changes to the anchor control (darker squares) when the alignment dialog is shown.<BR/><BR/>Also, the speaker used the alignment toolbar rather than the context menu, so no right clicking.<BR/><BR/>I still can't duplicate what I saw in the video (also running XP with themes).<BR/><BR/>Did I miss something?Bruce McGeehttps://www.blogger.com/profile/09952420043727301654noreply@blogger.comtag:blogger.com,1999:blog-9040327036497268290.post-71532632378271055862007-07-05T22:38:00.001+00:002007-07-05T22:38:00.001+00:00This comment has been removed by the author.Bruce McGeehttps://www.blogger.com/profile/09952420043727301654noreply@blogger.comtag:blogger.com,1999:blog-9040327036497268290.post-16107706239108077902007-07-05T22:38:00.000+00:002007-07-05T22:38:00.000+00:00This definitely looks like a bug, but I can't dupl...This definitely looks like a bug, but I can't duplicate it here. Even when I add and select the buttons exactly the same way shown.<BR/><BR/>Right or wwong, when you multi-select by dragging, the first control in the create order is selected as the anchor by default. You can demonstrate this by viewing the form as text, changing the order of the controls and selecting them again.Bruce McGeehttps://www.blogger.com/profile/09952420043727301654noreply@blogger.comtag:blogger.com,1999:blog-9040327036497268290.post-46036068250414883052007-07-05T19:06:00.000+00:002007-07-05T19:06:00.000+00:00I watched the video again, and it indeed was a bug...I watched the video again, and it indeed was a bug. When the buttons were multi-selected, the second one from the left had the dark corners, meaning it should have been the anchor for the align operation.<BR/><BR/>Instead the buttons got aligned as if the first button to the left was the anchor. When I try this in my version of Delphi and place the buttons exactly like in the video and multi-select, the left-most button is always the one with the dark corners and the align operation performs as it should.<BR/><BR/>I suspect that the problem we see in the video was probably fixed between his version of Delphi 2007 and the one I use. I'm using the very latest version.efortierhttps://www.blogger.com/profile/08901460996557257511noreply@blogger.com