473,417 Members | 1,566 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,417 software developers and data experts.

VB - Menu Editor Dialog Box - NegotiatePosition

VB - Menu Editor Dialog Box - NegotiatePosition
when i tried to set the NegotiatePosition property for a menu item
other than a top-level menu i got the error-
Only Top Level Menus can have non-zero NegotiatePosition.
how can i define all the menus position under the top level menu to
the left side? or there is other property to change menus position
(not the top level menu) ?
Jul 17 '05 #1
3 6736
> VB - Menu Editor Dialog Box - NegotiatePosition
when i tried to set the NegotiatePosition property for a menu item
other than a top-level menu i got the error-
Only Top Level Menus can have non-zero NegotiatePosition.
how can i define all the menus position under the top level menu to
the left side? or there is other property to change menus position
(not the top level menu) ?


I'm not exactly sure what you are trying to do with your menus, but it
doesn't sound like the NegotiatePosition property is what you want. Here
that properties description from the VB help files:

"Sets a value that determines whether or not top-level
Menu controls are displayed on the menu bar while a
linked object or embedded object object on a form is
active and displaying its menus. Not available at run time."

If you want to read the full description of this property, you can look up
"NegotiatePosition property" (do not include the quote marks) in the VB help
files at its Index tab.

Rick - MVP
Jul 17 '05 #2
da****@migdal-group.co.il (Dafna) wrote in message news:<16**************************@posting.google. com>...
VB - Menu Editor Dialog Box - NegotiatePosition
when i tried to set the NegotiatePosition property for a menu item
other than a top-level menu i got the error-
Only Top Level Menus can have non-zero NegotiatePosition.
how can i define all the menus position under the top level menu to
the left side? or there is other property to change menus position
(not the top level menu) ?


Can you explain it more? I have no idea what you mean by having all
the menus under the top level to the left.
Jul 17 '05 #3
All that does is provide a setting for applications that provide a menu
inside VB, such as when embedding a microsoft word object. Setting false
causes your menu to remain; setting True causes Word's menu to replace yours
when the object has focus, providing all word's built-in functionality
(well, most of at least).

It does nothing with respect to menus within and across your project's
forms.

--

Randy Birch
MVP Visual Basic
http://vbnet.mvps.org/
Please respond only to the newsgroups so all can benefit.
"Dafna" <da****@migdal-group.co.il> wrote in message
news:16**************************@posting.google.c om...
: VB - Menu Editor Dialog Box - NegotiatePosition
: when i tried to set the NegotiatePosition property for a menu item
: other than a top-level menu i got the error-
: Only Top Level Menus can have non-zero NegotiatePosition.
: how can i define all the menus position under the top level menu to
: the left side? or there is other property to change menus position
: (not the top level menu) ?
Jul 17 '05 #4

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

Similar topics

2
by: zapazap | last post by:
Dear Snake Charming Gurus, (Was: http://mail.python.org/pipermail/python-list/2004-January/204454.html) First, a thank you to Tim Golden, Thomas Heller, and Mark Hammond for your earlier help...
4
by: Marina | last post by:
Hi, When right clicking a project in Solution Explorer, and chosing the 'Add' menu, a bunch of choices come up depending on the project type. So there might be 'Add Module', 'Add Class', 'Add...
1
by: Ritesh | last post by:
Hi!!! I am making a GUI based application using Visual C++ 6.0. I have started making the application by using the ‘MFC AppWizard(exe)'. It's a Dialog based application. I have also created the...
2
by: OllieZ | last post by:
Hi all Im trying to learn wxpython by some samples and Ive come across this. After change EVT_MENU lines from EVT_MENU(self, ID_OPEN, self.OnOpen) to self.Bind(wx.EVT_MENU, self.OnOpen) It...
4
by: | last post by:
When do they plan on making this essential utility USEFUL? In its current form its pointless. How could they let this out? Its useless.
1
by: Jay | last post by:
I am trying to edit a dialog created with msvc 6.0. If I select a control and look in the properties window, there are no properties shown. The drop-down list has 'Selected Object' multiple times...
6
by: Bonj | last post by:
Hi How do developers that use the SDK (not full-blown VS IDE) create dialog boxes? Do they type out the DIALOG resource section of the .rc file manually? Use a third-party program? Or cheat,...
2
by: Tull Clancey | last post by:
Hi. I have an application with several menus, see last post, still not resolved. I have another problem.... The menus have been created using the menu editor, I can't find a way to add...
4
by: PW | last post by:
Hi, What is one and does Access 2003 have one? Or how would I create one? I would like the user to be able to right-click on a form or a control on a form and have a menu that offers to go to a...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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
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...
0
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
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...
0
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
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...

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.