Solved

How do you right justify a menu item in VB 5?

Posted on 1998-09-27
4
240 Views
Last Modified: 2010-04-30
How do you right justify a particular menu item in VB 5?  It used to be (in previous versions of VB) that you could right justify (i.e, have it appear on the extreme right of the menu bar) a menu item by starting its caption with the backspace character, Chr$(8). However, it appears that this technique no longer works in VB 5. Is there an alternative?  (Note that I have tried the NegotiatePosition = Right property (with NegotiateMenus = True) to no avail.)
0
Comment
Question by:joe37
  • 2
4 Comments
 
LVL 2

Expert Comment

by:shchuka
ID: 1436912
In the Menu Editor, there is "NegotiatePosition" combo box.  Help file says that this is what you need, but when I tried it - it didn't do any good anyway.
0
 

Author Comment

by:joe37
ID: 1436913
Edited text of question
0
 
LVL 1

Accepted Solution

by:
zivf earned 100 total points
ID: 1436914
sorry to disappoint you, but I won these points for free and you wasted you time and waited in vain.
article Q125675 in MSDN (freely available on the internet and most common in software development companies) deals with is and includes a reference to article Q67063 which deals with the alignment of the text itself inside the menu.

0
 

Author Comment

by:joe37
ID: 1436915
No reason to be sorry!  Your answer was right on target and 100% correct!
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question