473,566 Members | 3,342 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 2339
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![NameOfShortCutM enu].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.goo glegroups.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
1797
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 body code: <select name="standardcode" size="10" onchange="document.reqForm.submit()" tabindex="4"> <option value="0" SELECTED>-- Select a...
7
2345
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 tab control (very similar to outlook express). I then started coding and realised that I needed to add a ToolBar. When I added this, it didn't...
7
2809
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. hlPrintChecks.NavigateUrl = "javascript:var newWindow =window.open('printCheckClient.exe', 1,'height=350,width=350,menubar=no,status=no,toolbar=no')" I want to use a...
3
6261
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 button.index passed. for each "mdi child form", i have defined the module: sub Action(byval buttonIndex as integer) case of buttonIndex take the...
4
3642
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 to be able to control the toolbar from another form. Forms!frmClipping!Toolbar1.Buttons(2).Clicked = True does not work. Does anybody have any...
0
1735
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 with the web developer toolbar on firefox. i've gone into one of my clients orderforms and bought an expensive item for only five dollars and paypal...
3
2593
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 visible on the screen (brought to front, right behind the one in focus). I've played with the activated event of each form, but everything I've...
6
1721
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 tried a couple of code segments but they havnt been working. can anyone tell me how I can make fields in my code mandatory? My attempt at solving...
3
3457
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 some method, similar to FIND RECORD (e.g., CTL + F ), where a dialog box would pop up and let me enter the field name, and then jump the cursor to...
0
7673
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7584
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7893
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8109
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7645
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7953
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
3643
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2085
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 we have to send another system
1
1202
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.