473,402 Members | 2,053 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,402 software developers and data experts.

MenuItem35.PerformClick()

Hi

I am using the following method "MenuItem.PerformClick" in order to open a
menu but it doesn't work
Any suggetions?

Shmuel Shulman
SBS Technologies LTD
Nov 21 '05 #1
2 1349
"S Shulman" <sm*******@hotmail.com> wrote in message
news:OZ**************@TK2MSFTNGP09.phx.gbl...
I am using the following method "MenuItem.PerformClick" in order
to open a menu but it doesn't work


Is the Item in question Enabled?

PerformClick() is subject to the same restrictions as a user would
be - if the item is disabled, it can't be clicked!

HTH,
Phill W.
Nov 21 '05 #2
Phill,

It is enabled

Shmuel
"Phill. W" <P.A.Ward@o-p-e-n-.-a-c-.-u-k> wrote in message
news:d1**********@yarrow.open.ac.uk...
"S Shulman" <sm*******@hotmail.com> wrote in message
news:OZ**************@TK2MSFTNGP09.phx.gbl...
I am using the following method "MenuItem.PerformClick" in order
to open a menu but it doesn't work


Is the Item in question Enabled?

PerformClick() is subject to the same restrictions as a user would
be - if the item is disabled, it can't be clicked!

HTH,
Phill W.

Nov 21 '05 #3

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

Similar topics

3
by: Jason Kyle Baginski | last post by:
Here's a little test app to demonstrate a problem I'm having. It creates four buttons, each one with the different FlatStyle types available. Three of them behave exactly the same way(and the...
1
by: Marcin Zmyslowski | last post by:
Hello everybody! I have the problem with using Button1.PerformClick() method. I don`t know how to call the button. I have been searching the newsgroups but I didn`t find any exact description...
1
by: nobody | last post by:
Below I just added the click events after the "Handles" keyword. Is there a way to do this from the IDE? **************** Private Sub MenuItem35_Click(ByVal sender As System.Object, ByVal e As...
5
by: Brian | last post by:
Hello, I am trying to program a button to click with code. I do not want to have to repeat the code that I already have in the project. I figured that I could use the button that is alreay...
3
by: josh | last post by:
How do I make it actually save or open a file? It only opens the dialogs. What do I type to get it to save? Here's what I have so far: Public Class frmMainApp Inherits...
8
by: Terry | last post by:
I have noiticed a change in behavior between VB6 and VB.Net (2003 and 2005) that I don't find documented anywhere. It has to do with 'causesvalidation' and the button on the Form defined to be the...
5
by: stevenhaochen | last post by:
Form.Visible=False Button1.PerformClick It does not fire the Button1.Click event. Why?
0
by: Michel Vanderbeke | last post by:
Hello everyone, In my application I have two forms: form_1 and form_2 On form_1 two buttons: button_1 and button_2 The code on button1_click form_2.ShowDialog() form_2.Dispose()
0
by: Claire | last post by:
My richedit control uses the validating event to prevent loss of focus from itself when buttons are clicked but should call the sender button's PerformClick method to call the buttons default...
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...

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.