473,499 Members | 1,724 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Use a form like a toolbar

Is there anyway to dock a toolbar into a blank form? Short of that, is
there a way to design a form so that it does what a floating toolbar
does, complete with menus that have icons and with menues with their
own sub-menus?
lq

Nov 13 '05 #1
2 2327
lauren quantrell wrote:
Is there anyway to dock a toolbar into a blank form? Short of that, is
there a way to design a form so that it does what a floating toolbar
does, complete with menus that have icons and with menues with their
own sub-menus?
lq


You can use the Click event of (a label for example) to display a shortcut
menu and that shortcut menu will appear at the location of the mouse when
you click. This presents to the user pretty much the same as if you had a
menu or toolbar embedded in the form. The command you want to use is...

CommandBars![NameOfShortCutMenu].ShowPopup

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
Nov 13 '05 #2
"lauren quantrell" <la*************@hotmail.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
Is there anyway to dock a toolbar into a blank form?


No, word, Excel, and you guessed it ms-access all us the MDI interface. I
suppose that MOST users to computers do find their first exposure is to
word, or excel, so, it is not like using the MDI (multiple document
interface) is to going to surprise, or confuse anyway. Further, he Apple Mac
also by default has the menu bar ALWAYS at the top. So, for a VERY long
time, MDI was considered the best UI anyway. (users NEVER have to hunt, or
be fooled by the changing location of the menu bar (think about this in
word...as EACH window does NOT have its own menu bar. Most users in fact
prefer this simply clean approach (developers on the other hand tend to
want all kinds of moving/floating menu bars)..

So, if your users have EVER used word, or Excel..then the UI you present to
them in ms-access certainly is NOT going to surprise them!!..as they likely
been using MDI for years and years.

I am a big fan of using menus bars in ms-access...and I explain "why" and
how I use them here:

http://www.members.shaw.ca/AlbertKal...erFriendly.htm

There is also a nice bunch of screen shots of ms-access menu bars in action
in the above.

So, you might just continue to use the MDI interface. This approach is easy,
and when you switch from one form to another, the menu bar will switch for
you also (assuming you design the menu, and then set the form "menu"
property in the "other" tab). So, using MDI is what the development tools
support in ms-access anyway, and it takes the least amount of code.
--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pl*****************@msn.com
http://www.members.shaw.ca/AlbertKallal
Nov 13 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
1782
by: Nancy | last post by:
Hi, I am working on a project where I have to make a form list static, i.e. put in links so that users can choose a local file. As it stands, it's looking for a php file. Here's an example of the...
7
2334
by: Andy Bates | last post by:
I have hopefully a simple problem in C#. I designed a form with a listview on left, vert splitter against that, then the remainder of the form from top to bottom: a listview, horiz splitter and...
7
2798
by: IntraRELY | last post by:
I am using the following command to launch and .NET VB Executable, which is a simple Windows Form (printCheckClient.exe). I am using a HyperLink Control and works perfect....
3
6254
by: Smiles | last post by:
Hi there. Thanks for help in advance. I have an mdi form, with a toolbar. When i click on the toolbar button, i want to call the sub of "active mdi child" form's "Action" module, with the...
4
3635
by: Gerhard | last post by:
I have an MS Access app with multiple forms. One of the forms has a Toolbar (MsComctlLib.Toolbar) and it works as advertised. I handle the buttons in the Toolbar1_ButtonClick event. I would like...
0
1717
tolkienarda
by: tolkienarda | last post by:
hi all most of you have seen this form, mostly it has hidden attributes some of which can be changed to select boxes. the part that seems to be a security flaw is that people can edit live html...
3
2588
by: papalarge | last post by:
I have a VB.NET application that consists of a toolbar and a subwindow that I want to function together and not independently. So when I give focus to one, I want to make sure that the other is...
6
1716
by: Dameon99 | last post by:
Ive been looking through a whole tonne of sites to try to find out how I can make my fields mandatory but havnt been able to find something so far which actually tells me whwta I want to know. Ive...
3
3452
by: mckbill | last post by:
Is there a way I can direct the cursor to a specific field (variable) in a form by typing the field name while in form view? I have a form with many fields, and it would be nice if there were...
0
7134
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7180
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7225
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6901
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5479
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4605
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1429
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
667
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
307
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.