Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 10 of 12 total |
Popup Menus Demo |
Mon, Nov 9 2015 10:27 AM | Permanent Link |
Uli Becker | I create a little project to realize a menu that is hidden when no item
is clicked and the mouse leaves the menu. Not much code needed. http://www.beckersoft-online.de/demos/menutest.html Uli |
Mon, Nov 9 2015 11:56 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Uli,
<< I create a little project to realize a menu that is hidden when no item is clicked and the mouse leaves the menu. Not much code needed. http://www.beckersoft-online.de/demos/menutest.html >> Beautiful. I especially like the animation on the mouse-over. Tim Young Elevate Software www.elevatesoft.com |
Mon, Nov 9 2015 12:05 PM | Permanent Link |
Matthew Jones | Uli Becker wrote:
> I create a little project to realize a menu that is hidden when no > item is clicked and the mouse leaves the menu. Not much code needed. Me want! 8-) -- Matthew Jones |
Mon, Nov 9 2015 12:46 PM | Permanent Link |
Uli Becker | Matthew,
> Me want! 8-) Here it is. Uli Attachments: Test Menus.zip |
Tue, Nov 10 2015 4:00 AM | Permanent Link |
Matthew Jones | Uli Becker wrote:
> Here it is. You are a gentleman sir. Thank you. -- Matthew Jones |
Tue, Nov 10 2015 8:13 AM | Permanent Link |
Raul Team Elevate | On 11/9/2015 10:27 AM, Uli Becker wrote:
> I create a little project to realize a menu that is hidden when no item > is clicked and the mouse leaves the menu. Not much code needed. Nicely done - this looks great! And thanks for posting the code. Raul |
Wed, Nov 11 2015 12:20 PM | Permanent Link |
Matthew Jones | Uli Becker wrote:
> I create a little project to realize a menu that is hidden when no > item is clicked and the mouse leaves the menu. Not much code needed. > > http://www.beckersoft-online.de/demos/menutest.html I've now had a chance to look into this, and it is nicely done. Changing the line in FormCreate to: Background.Fill.Color := clRed; // clTransparent; allows you to see how it is all done (the smoke and mirrors are visible). You also don't seem to do anything with VisibleUnderline. That seems to have been replaced by the HideMenus and that allows more than one to be shrinking at the same time. But very nice, and easily adaptable I think - it would be good to be able to keep the menus on a different form and re-parent them, but then the events would be in the wrong place. I think this could also easily be made more generic, so that it doesn't need a set number of menus, but can try MenuCaption1, 2, etc, and when it gets to no component of that name, it stops. Basically it works it out. But really impressed at the result - nice stuff. (Also EWB2 of course, which provides the animations and the like.) -- Matthew Jones |
Wed, Nov 11 2015 12:50 PM | Permanent Link |
Uli Becker | Matthew,
> But really impressed at the result - nice stuff. (Also EWB2 of course, > which provides the animations and the like.) Thank you very much - glad you like it. And YES: EWB2 makes it possible! > You also don't seem to do anything with VisibleUnderline. Yes, I forgot to take it out. In my first approaches I tried to use the MouseMove events to check if the cursor has left the currently visible menu, but too many hassles with storing the bounds of the active menu, getting the "ClientToScreen" coordinates etc.... And much too much code. It took me some time to realize that a transparent panel as parent for the menus would do the trick. Off course the necessary code can be improved and nearly everything can be created at runtime. Uli |
Wed, Apr 20 2016 12:15 PM | Permanent Link |
Trinione | Just saw this... Very nice!
|
Wed, Apr 20 2016 6:35 PM | Permanent Link |
kamran | Hi Uli
Just seen it. Great work. Kamran |
Page 1 of 2 | Next Page » | |
Jump to Page: 1 2 |
This web page was last updated on Monday, December 9, 2024 at 02:00 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |