As a sales pitch ('an image is worth a thousand words') I developed, some time
ago, the following menu system:
A toolbar with a pageframe and treeviews that launch the programs in each page.
A table contains the treeview definitions for each page, the toolbar is a
subclass of the toolbar, which contains the imagelist controls that you need
for treeviews and internal methods that read the table to determine the number
of pages the pageframe will have, the way each treeview looks, methods to
minimize and maximize the toolbar and a method to read all the options. Each
option chosen will read a memo field with all the commands necessary for
launching that option, usually just one line of code like "do form myform", but
sometimes you need a little procedure, therefore, I use a memo field for that.
Each page in the pageframe comes from a page class that contains a label that
through a parameter, will change its caption according to the function it
represents, a treeview that will be populated from the table (which I call
treeview.dbf), an exit button with a door icon, to exit the application and an
image, also receiving its picture from a parameter, that will show the company
logo or whatever they would like.
When the application starts, the toolbar is in the middle of the screen,
maximized and showing the full pageframe. When an option is chosen the toolbar
simply disappears. A form class has a toggle button on the bottom that will
show or hide the toolbar (minimized), so other options can be chosen.
The whole thing works from a top level form, which is the bottom of the screen
and has beautiful picture (such as a caribbean beach or a landscape of your
choice)
The app immediately catches the user's eye and they simply love it (even though
the app itself is just a regular business app)
Let me tell you that the coding is a bit complicated, but very easy to maintain
(all you really do is maintain the treeview.dbf table, adding or taking out
options. By the way, each page in the pageframe is a business function (sales,
purchases, stocks, statistics, utilities, etc)
Works very well for me and my clients respect me (if not as a good programmer,
at least as a sensitive artist, he,he,he)
Regards
Rafael Copquin
----- Original Message -----
From: MB Software Solutions General Account
To: [EMAIL PROTECTED]
Sent: Sunday, March 09, 2008 1:19 PM
Subject: Need more than just the pulldown main menu...toolbar or custom form?
Client wants more than just the main menu pulldowns....would you suggest
using a toolbar class of sorts or perhaps a form that is anchored, or
something else? This will be the "driver" to the main parts of the
application.
tia!
--Michael
(VFP9SP1)
[excessive quoting removed by server]
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.