Icon Menu Widget
Version 2.1
This widget was created to provide a menu for the MMFDBE and allows you to define a list of menus, using a SQLite 3 editor such as the MMFDBE, though it still needs some work to be a functional app. I know I said “When I get the MMFDBE finished I will go back and add additional functionality to any of the widgets I create.” but as I made the MMFDBE and MDI app I needed to update this menu so here we are.
The widget uses Four objects...
1. Icon View Object
2. A Button Object
3. The SQLite 3 Object
4. Window Resize Object
It also requires the menu database file IconMenu.mmdb I have included a copy in the zip file. It will need to be saved in the same directory as the app to work and this will NOT run from in a zip, it has to be in a folder.
Feature List:
SQLite DB driven menu – Keep your menu setting in a SQLite DB and change them quickly and easily with a SQLite 3 DB editor such as the MMFDBE (though functional it's not complete at this time and has a few small bugs at the time of this release. 8/08)
Custom Size and Positioning – Set the size and position of your menu in the DB and never have to worry about going back to reprogram anything just because you needed to change the size of your menu in your app.
Customizable Buttons – The Button Object is used in this widget giving you full of control over button look and feel.
Dynamic menu sizing – You can have your menu size with your application or stay one size all the time based on the type and style of application your develop. You can also set the values in the SQLite object to adjust your menu during run time if needed.
Fame Resizing – For those application that can resize this widget just helps out a bit by resizing the frame for you based on the size of the client window. Full Functionallity for MDI will be added later, I have to get to work on the MMFDBE and get that done.
Multiple menu support – Call a new menu by setting the one value and running the “LayoutFunction” loop found in the SQLite object. The widget then rebuilds a new menu in the location you want it, the size you want, with the right number of buttons, labels them correctly, and manages the buttons based on the setting from the DB and your app. Great for dynamic sub menus where a user would click on a button that would then open this menu to provide a list of sub menus. Used as the main menu of the application you can quickly customize your icon menu such as seen in the example application I provided as the widget and the EXE in the zip file.
Here is a link to the SQLite 3 object post...
http://clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=80941#Post80941
Here is a link to the MMFDBE post(still needs a bit of work, that is what this menu was for)...
http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=104063#Post1040 63
Have Fun!
K









Reply With Quote