473,385 Members | 1,740 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,385 software developers and data experts.

Shortcut Menu becomes Disabled after an Edit in a New Record?

In Startup I have all Menus Off. I created a ShortcutMenu which has
the "InsertObject" option as its only selection. I open a form that has
New/Edit/Del buttons. This form has a linked OLE Picture Control. When
I am in EDIT mode I can Right-Click on the Picture Control and the
ShortcutMenu becomes available with the InsertObject option, and it
works great. If I press the New button to create a new record, I have
the same ShortcutMenu functionality when I go directly to the Picture
Control, however, once I begin entering data in the other fields
(PencilOn), the ShortcutMenu "InsertObject" option becomes grayed out
when used in the Picture Control. My ShortcutMenu is named Custom2,
and is located only in the Picture Controls ShortcutMenuBar Property.
This is a bound form.

Why is the ShortcutMenu option GrayedOut in the PictureControl, only
after adding data to another field? I wish for this to remain ON.

ThankYou
Greg

Jul 8 '06 #1
1 1229
THINK I found the problem:

Under my Edit button I have Me.AllowEdits = True.

Under my New Button I only had Me.AllowAdditions = True.
If I put AllowAdditions and AllowEdits as true under the NEW Button
it seems to work OK!

Any Problems with using AllowAdditions and AllowEdits as True when
adding a New Record. Is this what I should have been using all along ?

Thanks
Greg

Ap******@gmail.com wrote:
In Startup I have all Menus Off. I created a ShortcutMenu which has
the "InsertObject" option as its only selection. I open a form that has
New/Edit/Del buttons. This form has a linked OLE Picture Control. When
I am in EDIT mode I can Right-Click on the Picture Control and the
ShortcutMenu becomes available with the InsertObject option, and it
works great. If I press the New button to create a new record, I have
the same ShortcutMenu functionality when I go directly to the Picture
Control, however, once I begin entering data in the other fields
(PencilOn), the ShortcutMenu "InsertObject" option becomes grayed out
when used in the Picture Control. My ShortcutMenu is named Custom2,
and is located only in the Picture Controls ShortcutMenuBar Property.
This is a bound form.

Why is the ShortcutMenu option GrayedOut in the PictureControl, only
after adding data to another field? I wish for this to remain ON.

ThankYou
Greg
Jul 8 '06 #2

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

Similar topics

0
by: Carl Gilbert | last post by:
Hi I have recently been having trouble with the edit items in both the context menu and edit menu in vs.net designer. On the context menu, the only items that are not disabled are 'View code'...
1
by: Bryan Van. | last post by:
Hello, I've had Visual Studio .NET for C# only two weeks now. Today I encounter a big problem with the developer. The edit menu is disabled! Both using the right click of the mouse, the edit menu...
7
by: johkar | last post by:
I am confused on childNodes or children. When you have nested lists, I would think it would all be one list in the Dom, this doesn't seem to be the case. So how do you traverse an unordered list?...
3
by: Terry Bell | last post by:
I have some code that adds entries to the "Module Compiled" popup menu. Works fine in A97. You can open a module, right click, and the new entries are there for you to click. I converted it to...
4
by: Salad | last post by:
A97. If you set a forms properties to ShortcutMenu = No, the entire form is disabled from displaying a shortcut menu. If you set the property to Yes, all controls have a shortcut menu. I have...
5
by: Steven | last post by:
I have some text boxes on a form in MS Access 2000. When I right click in them I don't get any shortcut menu at all. I want the normal cut, copy, and past menu to come up. In the "Startup", I...
0
by: cefrancke | last post by:
I recently discovered, that if you set the startup options for "security", you will have alot of work do to get Access back to "normal". If you disable the built-in menus/toolbars you'll have to...
0
by: Marcel | last post by:
Hi, the application I am writing has a MainMenu and a DataGrid (UltraGrid). Now I have to edit the text of each cell in this grid. So far so good. All works fine in editmode but if I press a...
5
by: lorirobn | last post by:
Hi, I am trying to create two custom menu bars for my application, one for read-only users (without delete record), and one for update-access users (with delete record). I only need File and...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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...
0
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
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...

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.