Bug with simple menus in WinForms (.NET 2.0)

T

tjb

Could someone please try the following and tell me whether they can
reproduce this bug? I'm running 2.0 (the latest version, I presume, since
Windows Update doesn't suggest any 2.0 updates). I've Googled for reports
on this, but I've found nothing.

Steps:

1. Create a new WinForms (.NET 2.0) project in a relevant IDE (for
example, Visual Studio 2005).
2. Add a MenuStrip to the form.
3. Add a top-level menu item with the text "&File" (without the
quote characters).
4. Create two menu items underneath this, "&New" and "&Open" (without
the quote characters).
5. Run the application.
6. Press Alt+F, to open the File menu.
7. Press the Down Arrow key.

Result:

An ArithmeticException is raised. Here are the details of the
exception: <http://rafb.net/paste/results/ELOeJ371.html>.

Further info:

This happens with any top-level menu item that has at least two
sub-items.
 
T

tjb

Gabriele G. Ponti said:
Couldn't reproduce the problem.

Ahhh -- I've found the cause. It was a keyboard-macro program I had
running in the background! Disabled that and now I'm no longer
experiencing this problem.

Thanks for the reply -- it prompted me to analyse this further, and
eventually solve it.

Sorry for the false bug report.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top